3dexperiments/assets/shaders/planet.fs

14 lines
196 B
GLSL

precision mediump float;
uniform float g;
uniform float g2;
varying vec3 c0;
varying vec3 c1;
varying vec3 vColor;
void main (void) {
gl_FragColor = vec4(c1, 1.0) + vec4(vColor * c0, 1.0);
}