Skip to content

Commit

Permalink
texcoord rounding change to fix some artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
hizzlekizzle committed Apr 6, 2018
1 parent b953ba4 commit 67682d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbr/shaders/xbr-mlv4-multipass/xbr-mlv4-pass4.slang
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ layout(location = 2) out float scale_factor;
void main()
{
gl_Position = global.MVP * Position;
vTexCoord = TexCoord * vec2(1.0004, 0.9995);
vTexCoord = TexCoord * 1.0001;
float2 ps = float2(1.0/params.REFSize.x, 1.0/params.REFSize.y);
float dx = ps.x;
float dy = ps.y;
Expand Down

0 comments on commit 67682d4

Please sign in to comment.