mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2025-02-23 18:17:44 +11:00
Fixed glitch in centre of screen when using certain aspect ratio's.
This commit is contained in:
parent
94c514fe80
commit
dc11427819
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue