21 lines
340 B
GLSL
21 lines
340 B
GLSL
#version 330
|
|
|
|
// Input vertex attributes (from vertex shader)
|
|
in vec3 vertexPos;
|
|
in vec2 fragTexCoord;
|
|
in vec4 fragColor;
|
|
|
|
// Input uniform values
|
|
uniform sampler2D texture0;
|
|
uniform sampler2D texture1;
|
|
uniform vec4 colDiffuse;
|
|
|
|
uniform float divider = 0.5;
|
|
|
|
out vec4 finalColor;
|
|
|
|
void main()
|
|
{
|
|
finalColor = vec4(0.5, 0.5, 0.5, 1.0);
|
|
}
|