summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/objects/shinyF.glsl
blob: 694213219eff5b524f0dafb7730c3768c014e43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void applyScatter(inout vec3 col);

uniform samplerCube environmentMap;

void main() 
{
	vec3 ref = textureCube(environmentMap, gl_TexCoord[0].xyz).rgb;
			
	applyScatter(ref);
		
	gl_FragColor.rgb = ref;
	gl_FragColor.a = gl_Color.a;
}