mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 19:44:05 +09:00
shaders moved to subdir; console click on the actor to type its id in
This commit is contained in:
14
assets/shaders/passthrurgb.frag
Normal file
14
assets/shaders/passthrurgb.frag
Normal file
@@ -0,0 +1,14 @@
|
||||
#version 120
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
|
||||
varying vec4 v_color;
|
||||
varying vec2 v_texCoords;
|
||||
uniform sampler2D u_texture;
|
||||
|
||||
|
||||
void main(void) {
|
||||
gl_FragColor = vec4(texture2D(u_texture, v_texCoords).rgb, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user