Some extra comments to help me get things straight.

meow-7.2.2
Tofu Linden 2010-03-07 10:15:07 +00:00
parent 12d6214f0f
commit 23f03d9f6c
1 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ void main()
//wavef = normalize(wavef);
wavef = (norm_mat*vec4(wavef, 1.0)).xyz;
gl_FragData[0] = vec4(color.rgb, 0.5);
gl_FragData[1] = vec4(0.5,0.5,0.5, 0.95);
gl_FragData[2] = vec4(wavef*0.5+0.5, 0.0);
gl_FragData[0] = vec4(color.rgb, 0.5); // diffuse
gl_FragData[1] = vec4(0.5,0.5,0.5, 0.95); // speccolor*spec, spec
gl_FragData[2] = vec4(wavef*0.5+0.5, 0.0); // normal
}