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