src/scene/glsl/source/fallback.fs
raw| 1 | /* Fallback GLSL fragment shader, |
| 2 | used when we need a shader (e.g. because it is OpenGLES or |
| 3 | GLFeatures.EnableFixedFunction = false) |
| 4 | but the default shader did not compile. |
| 5 | You cannot leave the shader empty in OpenGLES. */ |
| 6 | |
| 7 | void main(void) |
| 8 | { |
| 9 | gl_FragColor = vec4(1.0, 0.0, 1.0, 1.0); // ugly color to stand out |
| 10 | } |