Thorsten Renk
9c95d09f60
Model ubershader for Atmospheric Light Scattering
2013-01-31 14:15:18 +02:00
Thorsten Renk
db546a6fd6
Bugfixes for random building in Atmosperhic Light Scattering
2013-01-30 10:04:27 +02:00
Emilian Huminiuc
72c876aec6
Ubershader fixes
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2013-01-17 11:32:00 +02:00
Stuart Buchanan
6d9168150d
Fix random buildings after latest procedural texture changes.
2012-12-05 20:31:50 +00:00
Emilian Huminiuc
b650a0eb51
Make sure shaders are disabled as long as /sim/rendering/shaders/quality-level is 0 or non existing.
...
This should help those checking out models in fgviewer
To enable effects in fgviewer run it with:
fgviewer --prop /sim/rendering/shaders/quality-level -1
Also fix random buildings not showing up when model shader was set to 0 and generic was enabled.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-11-18 00:39:02 +02:00
Emilian Huminiuc
e184642e87
Adjust reflection strength on random buildings; add and use a new cubemap for the random buildings.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-14 00:12:49 +03:00
Emilian Huminiuc
d1a44f10b7
Restore random buildings reflection.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-14 00:12:05 +03:00
Stuart Buchanan
2f0a1683b7
Improve memory and instantiation time of random buildings.
2012-09-12 22:46:03 +01:00
Emilian Huminiuc
cebf6f4d9c
buildings.eff: adapt technique numbering to previous effect changes
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 15:01:26 +03:00
Stuart Buchanan
4ec24853a8
Create an Environment Settings dialog for non-weather environment settings
...
such as snow level, dust, wetness, and texture set.
Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Emilian Huminiuc
e7dcbcf494
Small fixes and tweaks. Fix ugly black faces paralel to view direction on random buildings.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-07-16 14:17:16 +03:00
Emilian Huminiuc
4f991859ca
tweak random building reflections
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-07-15 00:37:32 +03: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
Emilian Huminiuc
0ac64c8506
Effects/building.eff: Fix for random buldings appearing untextured when skydome was enabled.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-05-13 03:09:27 +03:00
Emilian Huminiuc
22352ec485
Switch building.eff to the ubershader.
...
Tweak building lightmap to work with ubershader.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-05-07 02:05:02 +03: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
Stuart Buchanan
9dbebd3c2d
Emissive lighting on random buildings.
2012-05-01 22:36:24 +01:00
Stuart Buchanan
5909285100
Building effect for random buildings.
2012-04-28 23:03:11 +01:00