Clément de l'Hamaide
95640a1b6f
UniformFactory: merge current uniform per <name> of effect
2014-11-16 20:21:20 +01: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
4df2af2cef
SHADERS:fix "unified" fog function.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-02-14 18:39:58 +02:00
James Turner
37a964ec92
Re-arrange effects using texture units >= 8 down to unused lower-numbered units. Especially move the noise texture down to the first available slot.
2012-01-11 23:22:44 +00:00
Gijs de Rooy
4e0cbba20a
Add missing fog
2012-01-07 14:59:35 +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
b150771296
Add light map to reflect effect. Based on work by Emilian Huminuc.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-09-26 09:42:44 +01:00
Vivian Meazza
e6fb203302
Add light map to reflect shader.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-09-26 09:35:33 +01:00
Vivian Meazza
8de4541994
Use generic reflection map as a place-holder.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-03-31 21:30:50 +01:00
Vivian Meazza
b100c8b4b6
Correct typo.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-02-22 22:29:32 +00:00
vmmeazza
7b73c9732a
Remove redundant text
2010-04-08 21:32:47 +00:00
fredb
bbdf4694ad
Fix line endings
2010-04-07 21:09:48 +00:00
vmmeazza
1b49358d0d
Add mapping and noise
2010-04-02 14:02:48 +00:00
vmmeazza
f71d794866
Tie reflectivity to material shininess, and provide more user control via parameters.
...
Perpare for cube cross textures.
2010-03-31 09:11:44 +00:00
vmmeazza
2c825cbef2
A simple reflection effect - needs this patch ftp://ftp.abbeytheatre2.org.uk/fgfs/Shader/Reflect/cube-map.patch which will be included in Simgear soon (hopefully).
2010-03-28 11:17:51 +00:00