1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
jmt
1531446fb2 From Lauri Peltonen (Zan):
These two patches allow use of external shaders as the tree and 3d cloud
shaders. The shaders are Shaders/3dcloud.{frag|vert} and
Shaders/tree.{frag|vert}. If the shader files are not found, the
original shaders included in the source are used.

This makes testing modifications to the shaders easier and faster. End
users should see no difference when using this.
2009-09-29 07:41:11 +00:00
ehofman
f0ecd16f3c Removed a line too many. 2009-08-22 12:36:38 +00:00
ehofman
43027bcc00 comment out unused code and add proper reflections for specular and diffuse color 2009-08-22 12:08:32 +00:00
timoore
943ba2a4fe Till Busch - effects, shaders and textures for crop and water effects
Incorporated changes to effects file syntax. Changed Till's landmass
to mix in the base terrain texture. Some shader cleanup.

Also, add a GUI control for enabling shaders.
2009-08-08 10:17:58 +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