lightmap drawing won't use spritebatch

This commit is contained in:
minjaesong
2019-02-20 23:06:35 +09:00
parent 1906cff519
commit 83e1239434
6 changed files with 56 additions and 43 deletions

14
assets/passthrurgb.frag Normal file
View 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);
}