celestia/shaders/largestar_frag.glsl

10 lines
149 B
GLSL

uniform sampler2D starTex;
uniform vec4 color;
varying vec2 texCoord;
void main(void)
{
gl_FragColor = texture2D(starTex, texCoord) * color;
}