Clément de l'Hamaide
f6f433529f
Revert "UniformFactory: merge current uniform per <name> of effect"
...
Talking with Emilian about this commit, we came to the conclusion we don't want share uniform between .eff file
This reverts commit 91a6a27f32ee5f79e1d7e0d4570e879a902de58f.
2014-11-16 22:09:41 +01:00
Clément de l'Hamaide
95640a1b6f
UniformFactory: merge current uniform per <name> of effect
2014-11-16 20:21:20 +01:00
Clément de l'Hamaide
cad2dc9e06
Fix missing elements in texture declaration in effects files. Fixes bug #1267
2013-11-18 03:17:58 +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
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
e9c37c0b74
Add runway rain effect (experimental)
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-11-27 23:12:59 +00:00
Vivian Meazza
c383cda2c6
Add support for transparent materials and .dds normal maps.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-23 22:51:14 +01:00
Vivian Meazza
9283c48e45
Use generic reflection map.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-05-07 09:59:11 +01:00
Frederic Bouvier
0b0012d158
Change effect name inside the file
2010-09-23 08:20:05 +02:00
Frederic Bouvier
d734e32bd5
Modified reflect effect to include bumpspec. Original effect untouched
2010-09-21 08:23:13 +02:00