Skip to content

Commit

Permalink
prevent issues on some picky GPUs/compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
hizzlekizzle committed Jul 19, 2018
1 parent 01c80d2 commit 89ea904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crt/shaders/glow/gauss_horiz.cg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ float4 main_fragment (uniform input IN, in data vertex, uniform sampler2D s0 : T

float texel = floor(vertex.pix_no);
float phase = vertex.pix_no - texel;
float base_phase = phase.x - 0.5;
float base_phase = phase - 0.5;
float2 tex = float2((texel + 0.5) / IN.texture_size.x, vertex.tex.y);

float3 col = float3(0.0);
Expand Down

0 comments on commit 89ea904

Please sign in to comment.