grakopro/cw_8/shaders/sun.frag

16 lines
256 B
GLSL
Raw Normal View History

2024-01-23 23:31:33 +01:00
#version 430 core
uniform sampler2D colorTexture;
in vec3 vecNormal;
in vec3 worldPos;
in vec2 outVertexTexCoord;
out vec4 outColor;
void main()
{
vec4 textureColor = texture2D(colorTexture, outVertexTexCoord);
outColor = vec4(textureColor.rgb,1);
}