Skip to content

Commit

Permalink
Merge pull request #5966 from openframeworks/bugfix-shader-macos
Browse files Browse the repository at this point in the history
Bugfix shader macos. Closes #5954
  • Loading branch information
ofTheo authored Apr 12, 2018
2 parents de8b77f + 2b83c45 commit ed8a952
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ varying vec2 texCoordVarying;

void main()
{
vec4 color;
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

color += 0.000229 * texture2D(tex0, texCoordVarying + vec2(blurAmnt * -4.0, 0.0));
color += 0.005977 * texture2D(tex0, texCoordVarying + vec2(blurAmnt * -3.0, 0.0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ varying vec2 texCoordVarying;

void main()
{
vec4 color;
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

color += 0.000229 * texture2D(tex0, texCoordVarying + vec2(0.0, blurAmnt * 4.0));
color += 0.005977 * texture2D(tex0, texCoordVarying + vec2(0.0, blurAmnt * 3.0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ varying vec2 texCoordVarying;

void main()
{
vec4 color;
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

color += 0.000229 * texture2DRect(tex0, texCoordVarying + vec2(blurAmnt * -4.0, 0.0));
color += 0.005977 * texture2DRect(tex0, texCoordVarying + vec2(blurAmnt * -3.0, 0.0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ varying vec2 texCoordVarying;

void main()
{
vec4 color;
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

color += 0.000229 * texture2DRect(tex0, texCoordVarying + vec2(0.0, blurAmnt * 4.0));
color += 0.005977 * texture2DRect(tex0, texCoordVarying + vec2(0.0, blurAmnt * 3.0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ out vec4 outputColor;
void main()
{

vec4 color;
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

color += 0.000229 * texture(tex0, texCoordVarying + vec2(blurAmnt * -4.0, 0.0));
color += 0.005977 * texture(tex0, texCoordVarying + vec2(blurAmnt * -3.0, 0.0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ out vec4 outputColor;
void main()
{

vec4 color;
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

color += 0.000229 * texture(tex0, texCoordVarying + vec2(0.0, blurAmnt * 4.0));
color += 0.005977 * texture(tex0, texCoordVarying + vec2(0.0, blurAmnt * 3.0));
Expand Down

0 comments on commit ed8a952

Please sign in to comment.