mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
fix weird issue on nvidia shield
This commit is contained in:
parent
ec86a37a4e
commit
16f670e623
|
@ -97,7 +97,7 @@ void main()
|
|||
vec2 dy = vec2(0.0, 1.0/texture_size.y);
|
||||
vec2 pix_coord = vTexCoord*texture_size+vec2(-0.5,0.0);
|
||||
|
||||
vec2 tc = (floor(pix_coord)+vec2(0.5,0.0))/texture_size;
|
||||
vec2 tc = (floor(pix_coord)+vec2(0.5,0.001))/texture_size;
|
||||
|
||||
vec2 fp = fract(pix_coord);
|
||||
|
||||
|
@ -122,4 +122,4 @@ void main()
|
|||
color = clamp(color, min_sample, max_sample);
|
||||
color = mix(aux, color, CRT_ANTI_RINGING);
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue