| @@ -1,6 +1,10 @@ | |||||
| -- GLSL.Vert -- | -- GLSL.Vert -- | ||||
| #if defined GL_ES | |||||
| #version 100 | |||||
| #else | |||||
| #version 120 | #version 120 | ||||
| #endif | |||||
| attribute vec3 in_Vertex; | attribute vec3 in_Vertex; | ||||
| attribute vec3 in_Normal; | attribute vec3 in_Normal; | ||||
| @@ -49,9 +53,15 @@ void main(void) | |||||
| } | } | ||||
| -- GLSL.Frag -- | -- GLSL.Frag -- | ||||
| #if defined GL_ES | |||||
| #version 100 | |||||
| #else | |||||
| #version 120 | #version 120 | ||||
| #endif | |||||
| //precision highp float; | |||||
| #if defined GL_ES | |||||
| precision highp float; | |||||
| #endif | |||||
| varying vec4 pass_Color; | varying vec4 pass_Color; | ||||
| void main(void) { | void main(void) { | ||||