mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix shaders, vertex shader output locations don't match the fragment shader input locations.
This commit is contained in:
committed by
luisangelsm
parent
7fad1ebb3f
commit
5ebf52bdb3
@ -5,7 +5,7 @@ layout(location = 0) in vec2 vTexCoord;
|
||||
layout(location = 1) in flat vec4 vInstanceShading;
|
||||
layout(location = 2) in flat float vInstanceOpacity;
|
||||
layout(location = 3) in flat float vIsReflection;
|
||||
layout(location = 5) in vec2 vLocalPos;
|
||||
layout(location = 4) in vec2 vLocalPos;
|
||||
|
||||
// Output
|
||||
layout(location = 0) out vec4 fragColor;
|
||||
|
||||
Reference in New Issue
Block a user