mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-31 17:40:33 -04:00
12 lines
252 B
Text
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;
|
|
}
|
|
|