1
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
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
2f123b7100 Make random buildings compatible with the atmospheric scattering shader.
Also remove redundant test parameters from the tree effect.
2012-06-30 20:37:08 +01:00
Stuart Buchanan
145a759fb8 Add support for atmospheric scattering to the random vegetation shader. 2012-06-30 00:38:14 +01:00
Frederic Bouvier
5cfca250b1 rename /sim/rendering/rembrandt -> /sim/rendering/rembrandt/enabled
and put rembrandt-related properties in /sim/rendering/rembrandt/
2012-05-12 09:20:04 +02:00
Frederic Bouvier
7e1ed19307 Put encode_gbuffer in a separate shader to please ATI and/or Mac OSX that doesn't like to have gl_FragData and gl_FragColor in the same program, even if one is never called 2012-05-04 09:34:00 +02:00
Emilian Huminiuc
f26472f614 Remove useless include_fog.vert from some of the effects.
Fis c/p error in ubershader-deferred.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-05-03 00:01:59 +03:00
Frederic Bouvier
6be18a5c99 Add the ability to record depth in color buffer. This should solve depth buffer resolution problem for older NVidia cards. 2012-05-01 08:47:38 +02:00
Frederic Bouvier
37ce7f2683 Rembrandt trees: Fix technique numbering and restore transparent pass for the classical renderer 2012-04-05 08:22:12 +02:00
Stuart Buchanan
b09e37fefd Update random vegetation for project Rembrandt. Unfortunately due to a possible bug in the techniques code, the previous tree transparency handling has been disabled for the moment. 2012-04-04 22:39:46 +01:00
Gijs de Rooy
6c971211b8 Quality slider overwrites custom shader settings. All effects now listen to the new sim/rendering/shaders/<foo> properties. 2011-12-12 17:04:36 +01:00
Vivian Meazza
746b38ca9c Adapt to new rendering gui
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 21:44:10 +00:00
Stuart Buchanan
6fc8b10667 Fixes for random vegetation:
1) Remove dependency on the /sim/rendering/shader-effects
2) Fix http://code.google.com/p/flightgear-bugs/issues/detail?id=494 where
toggling the random vegetation on, iff initiall set off, did not generate
new random vegetation. Fixed by forcing a tile reload in the same way as
used for random objects.
2011-11-24 21:41:05 +00:00
Gijs de Rooy
cad9ef6967 Add random-vegetation back in 2010-12-14 21:26:46 +01:00
stuart
d5b4f52040 Short-term fix to fix alpha-blending problems with clouds. 2009-11-26 21:07:50 +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