mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
12 lines
313 B
Text
12 lines
313 B
Text
#extension GL_EXT_frag_depth : require
|
|
void xlat_main( out lowp vec4 ocol, out mediump float oz ) {
|
|
ocol = vec4( 0.5);
|
|
oz = 0.9;
|
|
}
|
|
void main() {
|
|
lowp vec4 xlt_ocol;
|
|
mediump float xlt_oz;
|
|
xlat_main( xlt_ocol, xlt_oz);
|
|
gl_FragData[0] = vec4(xlt_ocol);
|
|
gl_FragDepthEXT = float(xlt_oz);
|
|
}
|