Revision ad33f883
Added by Leszek Koltunski about 6 years ago
src/main/res/raw/main_vertex_shader.glsl | ||
---|---|---|
38 | 38 |
varying vec3 v_Normal; // |
39 | 39 |
varying vec2 v_TexCoordinate; // |
40 | 40 |
|
41 |
uniform int vNumEffects; // total number of vertex effects |
|
42 |
|
|
43 | 41 |
#if NUM_VERTEX>0 |
42 |
uniform int vNumEffects; // total number of vertex effects |
|
44 | 43 |
uniform int vType[NUM_VERTEX]; // their types. |
45 | 44 |
uniform vec4 vUniforms[3*NUM_VERTEX];// i-th effect is 3 consecutive vec4's: [3*i], [3*i+1], [3*i+2]. |
46 | 45 |
// The first vec4 is the Interpolated values, |
Also available in: Unified diff
Minor