Eevee : Fix grid black fill.

This commit is contained in:
Clément Foucault 2017-10-02 22:17:20 +02:00
parent 2bd36338d3
commit 2136942916
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ void main()
ivec2 coord = ivec2(gl_FragCoord.xy) % data_size;
FragColor = texelFetch(gridTexture, coord, 0);
if (any(greaterThan(ivec2(gl_FragCoord.xy), data_size))) {
if (any(greaterThanEqual(ivec2(gl_FragCoord.xy), data_size))) {
FragColor = vec4(0.0, 0.0, 0.0, 1.0);
}
}