1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
timoore
971b6c3ef2 light two-sided polygons
Also, remove model-default.frag; for the moment one fragment shader works for
both terrain and models.


Author: Tim Moore <timoore@redhat.com>
2009-11-19 16:20:51 +00:00
timoore
56fc0f9076 clamp lighting values and support transparency material animation
The transparency animation support is a hack, but should get the job done
for a bit.


Author: Tim Moore <timoore@redhat.com>
2009-11-17 21:57:07 +00:00
timoore
ca82d06aef in shaders, get alpha directly from diffuse material value
Just like the fixed function pipeline


Author: Tim Moore <timoore@redhat.com>
2009-11-17 06:23:21 +00:00
timoore
30f844c961 fixes to terrain shader
Handle emission and light model ambient value.

Test if shininess is 0 to avoid pow(0, 0), which is undefined.
2009-07-19 18:54:10 +00:00
timoore
d4d89d2793 Terrain effect has a shader 2009-07-15 22:49:36 +00:00