bgfx/3rdparty/glsl-optimizer/tests/fragment/unity-RenderFX_Skybox_Cubed-out.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

12 lines
252 B
Text

uniform vec4 _Tint;
uniform samplerCube _Tex;
void main ()
{
vec4 col;
vec4 tmpvar_1;
tmpvar_1 = textureCube (_Tex, gl_TexCoord[0].xyz);
col.xyz = ((tmpvar_1.xyz + _Tint.xyz) - 0.5);
col.w = (tmpvar_1.w * _Tint.w);
gl_FragData[0] = col;
}