more compatible shader

This commit is contained in:
minjaesong
2017-07-23 18:23:53 +09:00
parent a3a5b7ff57
commit ca6b74199d
3 changed files with 54 additions and 112 deletions

View File

@@ -1,3 +1,6 @@
#version 120
varying vec4 v_color;
varying vec2 v_texCoords;
uniform sampler2D u_texture; // world texture, has alpha value that is meaningful