ObjToSchematic/shaders/shaded_fragment.fs

11 lines
178 B
Forth
Raw Normal View History

2021-07-01 23:16:32 +08:00
precision mediump float;
2021-07-27 06:42:56 +08:00
uniform sampler2D u_texture;
varying vec2 v_texcoord;
2021-07-01 23:16:32 +08:00
void main() {
2021-07-27 06:42:56 +08:00
//gl_FragColor = v_colour;
gl_FragColor = texture2D(u_texture, v_texcoord);
2021-07-01 23:16:32 +08:00
}