1 #include "shaders_common.h" 2 3 /* Need to duplicate these to work around broken stuff on Android. 4 * Must enforce alpha = 1.0 or 32-bit games can potentially go black. */ 5 static const char *stock_vertex_xmb_snow = GLSL( 6 attribute vec2 TexCoord; 7 attribute vec2 VertexCoord; 8 attribute vec4 Color; 9 uniform mat4 MVPMatrix; 10 varying vec2 tex_coord; 11 12 void main() { 13 gl_Position = MVPMatrix * vec4(VertexCoord, 0.0, 1.0); 14 tex_coord = TexCoord; 15 } 16 ); 17