13 lines
No EOL
183 B
GLSL
13 lines
No EOL
183 B
GLSL
#version 330
|
|
|
|
in vec2 vTexture;
|
|
|
|
vec4 GetRenderColor();
|
|
|
|
uniform vec4 Ambient = vec4(1);
|
|
|
|
layout(location = 0) out vec4 color;
|
|
|
|
void main() {
|
|
color = GetRenderColor() * Ambient;
|
|
} |