mirror of https://github.com/axmolengine/axmol.git
correct wrong presion, which leads to failed on some devices
This commit is contained in:
parent
07c2ec49db
commit
907189ed14
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
const char* cc3D_Terrain_frag = STRINGIFY(
|
const char* cc3D_Terrain_frag = STRINGIFY(
|
||||||
\n#ifdef GL_ES\n
|
\n#ifdef GL_ES\n
|
||||||
precision lowp float;
|
precision mediump float;
|
||||||
\n#endif\n
|
\n#endif\n
|
||||||
uniform vec3 u_color;\n
|
uniform vec3 u_color;\n
|
||||||
varying vec2 v_texCoord;\n
|
varying vec2 v_texCoord;\n
|
||||||
varying vec3 v_normal;\n
|
varying vec3 v_normal;\n
|
||||||
uniform int u_has_alpha;\n
|
uniform lowp int u_has_alpha;\n
|
||||||
uniform int u_has_light_map;\n
|
uniform lowp int u_has_light_map;\n
|
||||||
uniform sampler2D u_alphaMap;\n
|
uniform sampler2D u_alphaMap;\n
|
||||||
uniform sampler2D u_texture0;\n
|
uniform sampler2D u_texture0;\n
|
||||||
uniform sampler2D u_texture1;\n
|
uniform sampler2D u_texture1;\n
|
||||||
|
|
Loading…
Reference in New Issue