uniform vec3 uniColor1; uniform vec3 uniColor2; #line 3 uniform float uniFactor; #line 5 vec4 xlat_main( ) { #line 7 vec3 col = vec3( mix( 0.5, float( uniColor2), uniFactor)); vec4 outcol = vec4( col, 1.0); return vec4( mix( 0.5, float( vec3( 1.0)), float( outcol))); } void main() { vec4 xl_retval; xl_retval = xlat_main( ); gl_FragData[0] = vec4(xl_retval); } // uniforms: // uniColor2: type 11 arrsize 0 // uniFactor: type 9 arrsize 0