Fixed avatar shadows on AMD (and any other sane GLSL compiler) Fixed windows compile: -curl version was updated after running develop.py. Not sure if applicable to linux/darwin -new llqtwebkit version on windows, since the old url is now invalid.
17 lines
360 B
GLSL
17 lines
360 B
GLSL
/**
|
|
* @file avatarShadowF.glsl
|
|
*
|
|
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
|
|
* $License$
|
|
*/
|
|
|
|
uniform sampler2D diffuseMap;
|
|
|
|
|
|
void main()
|
|
{
|
|
//gl_FragColor = vec4(1,1,1,gl_Color.a * texture2D(diffuseMap, gl_TexCoord[0].xy)); //This should not compile!
|
|
gl_FragColor = vec4(1,1,1,texture2D(diffuseMap, gl_TexCoord[0].xy).a * gl_Color.a);
|
|
}
|
|
|