Fix perspective correction issue for uv coordinates

This commit is contained in:
2024-07-05 09:06:17 +02:00
parent 3e73672538
commit eb96d7d674
5 changed files with 41 additions and 41 deletions

View File

@@ -7,5 +7,5 @@ layout(set = 2, binding = 0) uniform sampler2D texSampler;
void main()
{
outColor = texture(texSampler, texCoord);
outColor = texture(texSampler, texCoord) * color;
}