| 1 |
{ -*- buffer-read-only: t -*- } |
| 2 |
{ DON'T EDIT -- this file was automatically generated from "source/fallback.vs" } |
| 3 |
'/* Fallback GLSL vertex shader.' + LineEnding + |
| 4 |
'' + LineEnding + |
| 5 |
' Used when we need a shader (e.g. because it is OpenGLES or' + LineEnding + |
| 6 |
' GLFeatures.EnableFixedFunction = false),' + LineEnding + |
| 7 |
' but the default shader did not compile.' + LineEnding + |
| 8 |
' You cannot leave the shader empty in OpenGLES.' + LineEnding + |
| 9 |
'*/' + LineEnding + |
| 10 |
'' + LineEnding + |
| 11 |
'uniform mat4 castle_ModelViewMatrix;' + LineEnding + |
| 12 |
'uniform mat4 castle_ProjectionMatrix;' + LineEnding + |
| 13 |
'attribute vec4 castle_Vertex;' + LineEnding + |
| 14 |
'' + LineEnding + |
| 15 |
'void main(void)' + LineEnding + |
| 16 |
'{' + LineEnding + |
| 17 |
' gl_Position = castle_ProjectionMatrix * (castle_ModelViewMatrix * castle_Vertex);' + LineEnding + |
| 18 |
'}' + LineEnding + |
| 19 |
'' |