ObjToSchematic/res/shaders/solid_tri_fragment.fs
2022-06-12 00:47:30 +01:00

10 lines
167 B
GLSL

precision mediump float;
uniform vec4 u_fillColour;
varying float v_lighting;
void main() {
gl_FragColor = vec4(u_fillColour.rgb * v_lighting, u_fillColour.a);
}