1
0
Fork 0
Commit graph

12 commits

Author SHA1 Message Date
Stuart Buchanan
08243eb083 Speculative fix for shader cast issue on Mac. 2013-05-31 19:50:57 +01:00
Stuart Buchanan
3929e8d091 Use square tree textures with reduce UV coordinates. 2013-05-19 21:30:20 +01:00
Stuart Buchanan
613db9668f Fix warning on some GPUs. 2013-05-10 20:20:08 +01:00
Stuart Buchanan
5689d76dca Change tree texture format from a 8x4 block to 32x1 to avoid UV bleeding problems. 2013-05-10 20:04:18 +01:00
Stuart Buchanan
266313486d Add dynamic selection of tree texture based on season and snow level.
All tree texture sheets now contain 4 different texture sets for
different conditions.  See Docs/README.materials for details.

Also retire the -summer and -winter variants of tree textures, which
are now redundant.
2013-04-20 21:09:03 +01:00
Stuart Buchanan
0604e3975b Add an additional random rotation to trees so the quads are not
all oriented N/S and E/W, helping to disguise the limited set of
textures used.
2012-07-24 22:12:11 +01:00
Emilian Huminiuc
55c54bb25b SHADERS: fix "unified" fog function. This should fix issue #650
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-02-14 18:52:38 +02:00
Emilian Huminiuc
4df2af2cef SHADERS:fix "unified" fog function.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-02-14 18:39:58 +02:00
Vivian Meazza
06e0e5a057 Standardized fog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 20:52:59 +00:00
timoore
ffa9cae11c New tree rendering algorithm
Draw trees in two passes, opaque and transparent. This allows us to
have some transparency, which is better looking, and dispense with
sorting.


Author: Tim Moore <timoore@redhat.com>
2009-11-23 21:53:56 +00:00
timoore
00e7027dce Move hard wired tree shader to an effect
Author: Tim Moore <timoore@redhat.com>
2009-11-21 23:35:47 +00:00
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