Light: Export the correct value for specmap in grass/splatting shaders
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
3a6e75b656
commit
c2b18a0a1c
@ -9,5 +9,5 @@ void main()
|
||||
{
|
||||
gl_FragData[0] = texture2D(tex, gl_TexCoord[0].st);
|
||||
gl_FragData[1] = vec4(0.5 * normalize(nor) + 0.5, gl_FragCoord.z);
|
||||
gl_FragData[2] = vec4(1.);
|
||||
gl_FragData[2] = vec4(0.);
|
||||
}
|
||||
|
@ -28,5 +28,5 @@ void main() {
|
||||
gl_FragData[0] = vec4(splatted.xyz, 1.);
|
||||
|
||||
gl_FragData[1] = vec4(normalize(nor) * 0.5 + 0.5, gl_FragCoord.z);
|
||||
gl_FragData[2] = vec4(splatted.a);
|
||||
gl_FragData[2] = vec4(1. - splatted.a);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user