ObjToSchematic/shaders/shaded_fragment_fill.fs

10 lines
152 B
Forth
Raw Normal View History

precision mediump float;
uniform vec3 u_fillColour;
varying float v_lighting;
void main() {
gl_FragColor = vec4(u_fillColour * v_lighting, 1.0);
}