mirror of https://github.com/axmolengine/axmol.git
fix shader on pc
This commit is contained in:
parent
907189ed14
commit
cca25f5b5c
|
@ -6,8 +6,13 @@ precision mediump float;
|
|||
uniform vec3 u_color;\n
|
||||
varying vec2 v_texCoord;\n
|
||||
varying vec3 v_normal;\n
|
||||
\n#ifdef GL_ES\n
|
||||
uniform lowp int u_has_alpha;\n
|
||||
uniform lowp int u_has_light_map;\n
|
||||
\n#else\n
|
||||
uniform int u_has_alpha;\n
|
||||
uniform int u_has_light_map;\n
|
||||
\n#endif\n
|
||||
uniform sampler2D u_alphaMap;\n
|
||||
uniform sampler2D u_texture0;\n
|
||||
uniform sampler2D u_texture1;\n
|
||||
|
|
Loading…
Reference in New Issue