mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-04 21:31:11 -05:00
11 lines
250 B
Text
11 lines
250 B
Text
|
vec4 xlat_main( in vec2 pos );
|
||
|
vec4 xlat_main( in vec2 pos ) {
|
||
|
return vec4( pos, 0.000000, 0.000000);
|
||
|
}
|
||
|
varying vec2 xlv_VPOS;
|
||
|
void main() {
|
||
|
vec4 xl_retval;
|
||
|
xl_retval = xlat_main( vec2(xlv_VPOS));
|
||
|
gl_FragData[0] = vec4( xl_retval);
|
||
|
}
|