mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-04 21:31:11 -05:00
13 lines
313 B
Text
13 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);
|
||
|
}
|