mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
10 lines
239 B
Text
10 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);
|
|
}
|