mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2025-02-17 07:27:43 +11:00
fix weird issue on nvidia shield
This commit is contained in:
parent
ec86a37a4e
commit
16f670e623
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ void main()
|
||||||
vec2 dy = vec2(0.0, 1.0/texture_size.y);
|
vec2 dy = vec2(0.0, 1.0/texture_size.y);
|
||||||
vec2 pix_coord = vTexCoord*texture_size+vec2(-0.5,0.0);
|
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);
|
vec2 fp = fract(pix_coord);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue