Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Resources/Shaders/template.fsh
#ifdef GL_ES |
// define default precision for float, vec, mat. |
precision highp float; |
#endif |
varying vec4 colorVarying; |
void main() |
{ |
gl_FragColor = colorVarying; |
} |
Copyright © 2010 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2010-07-07