1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
stuart
6b4857ce8c Allow the snow level of the landmass shader to be set from the property system, and expose it in the rendering dialog. Could be used in future to set the snow level based on the current weather. 2010-03-27 14:02:56 +00:00
timoore
dfb8181f34 more ATI fixes for crops and landmass shaders
Same problem with material state, except this time with the diffuse component.


Author: Tim Moore <timoore@redhat.com>
2010-02-12 14:43:26 +00:00
timoore
421ee253e6 fix shader bugs on ATI hardware
The main problem was using gl_FrontMaterial.ambient with a color mode
of AMBIENT_AND_DIFFUSE i.e., the fixed function path would take both the
ambient colors from the vertex color value. Also, some vertex shaders
were not writing gl_FrontColor even though the fragment shader was
accessing gl_Color.


Author: Tim Moore <timoore@redhat.com>
2010-02-12 11:38:53 +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