Stuart Buchanan
3929e8d091
Use square tree textures with reduce UV coordinates.
2013-05-19 21:30:20 +01:00
Stuart Buchanan
1e09cf85ef
Use step function rather than cast of boolean expression.
2013-05-13 22:59:25 +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
Thorsten Renk
4817183507
Isotropic lighting for trees in Atmospheric Light Scattering
2013-04-16 12:48:54 +03:00
Thorsten Renk
ed80612c98
Atmospheric Light Scattering update
2012-12-05 20:31:27 +00:00
Thorsten Renk
9be134b34d
Procedural Texturing
2012-08-07 09:01:14 +02:00
Stuart Buchanan
0e14a09698
Add rotation of trees, and fix issue 825
2012-07-31 21:44:38 +01:00
Stuart Buchanan
ab21e069f7
Correct atmospheric scattering for trees, where we were applying ambient lighting twice, making them too dark, and not using an alpha test.
...
Also fix the tropical trees, where only half the texture was defined.
2012-07-02 23:27:44 +01:00
Stuart Buchanan
145a759fb8
Add support for atmospheric scattering to the random vegetation shader.
2012-06-30 00:38:14 +01:00