Replace explicit matrix uniforms with single ubo
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
#version 430 core
|
||||
in vec2 tPos;
|
||||
in vec4 gColor;
|
||||
|
||||
uniform sampler2D tex;
|
||||
|
||||
out vec4 fColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
fColor = gColor * texture(tex,tPos);
|
||||
// fColor = gColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user