mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-04 21:31:11 -05:00
12 lines
245 B
Text
12 lines
245 B
Text
|
void xlat_main( out vec4 ocol, out float oz ) {
|
||
|
ocol = vec4( 0.5);
|
||
|
oz = 0.9;
|
||
|
}
|
||
|
void main() {
|
||
|
vec4 xlt_ocol;
|
||
|
float xlt_oz;
|
||
|
xlat_main( xlt_ocol, xlt_oz);
|
||
|
gl_FragData[0] = vec4(xlt_ocol);
|
||
|
gl_FragDepth = float(xlt_oz);
|
||
|
}
|