mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
11 lines
239 B
Text
11 lines
239 B
Text
|
vec4 xlat_main( in float face );
|
||
|
vec4 xlat_main( in float face ) {
|
||
|
return vec4( face);
|
||
|
}
|
||
|
varying float xlv_VFACE;
|
||
|
void main() {
|
||
|
vec4 xl_retval;
|
||
|
xl_retval = xlat_main( float(xlv_VFACE));
|
||
|
gl_FragData[0] = vec4( xl_retval);
|
||
|
}
|