mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
Fixed glitch in centre of screen when using certain aspect ratio's.
This commit is contained in:
parent
94c514fe80
commit
dc11427819
|
@ -49,7 +49,7 @@ layout(location = 0) out vec2 vTexCoord;
|
|||
void main()
|
||||
{
|
||||
gl_Position = global.MVP * Position;
|
||||
vTexCoord = TexCoord;
|
||||
vTexCoord = TexCoord * vec2(1.00001); // To resolve rounding issues when sampling
|
||||
}
|
||||
|
||||
#pragma stage fragment
|
||||
|
|
Loading…
Reference in a new issue