mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05: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