1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
James Turner
544e53c9d9 Standardize on Unix line ending
Reported at:
https://sourceforge.net/p/flightgear/codetickets/2042/
2018-08-08 11:17:49 +02:00
Emilian Huminiuc
355af4e72e Adapt model-combined effect templates provided with the documentation to latest developments (new technique for ligthfield shader).
Adapt a couple of aircraft effects to latest effect state too.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2013-02-01 13:22:29 +02:00
Emilian Huminiuc
191988f98e Improve ubershader ReadMe readability
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-11-09 00:58:03 +02:00
Emilian Huminiuc
2c058f9c1f New effect: Effects/model-combined-transparent
Switch c172p and concorde glass effects to the new effect.
Docs/model-combined.eff/: Updated transparent effect template.

From now on Effects/model-combined should not be inherited from directly.
Use either Effects/model-combined-deferred
or Effects/model-combined-transparent

Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 22:28:45 +03:00
Emilian Huminiuc
835ba95ddb adapt effect template to previous changes
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 14:22:51 +03:00
Emilian Huminiuc
efe52f4bf9 ubershader: fix reflection under Rembrandt
model-combined & model-combined-deferred effects: improve Rembrandt behaviour, and provide better effects for transparent
surfaces under Rembrandt.

This change breaks current effects using normalmaps when inheriting from model-combined-deferred under
Rembrandt.
Aircraft developers please change the technique numbers in the "normalmap include" part of your effects file from
<technique n="8"> to <technique n="7"> (again, only if inheriting from model-combined-deferred, and using normalmaps)

Effects inheriting from model-combined do not neeed any adaptation.

Sorry for the nuisance caused by this change.

Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 13:54:07 +03:00
Emilian Huminiuc
d43770ab58 Effects/model-default.eff move skydome to technique 5 to provide more headroom
Effects/model-combined.eff fix techniques numbering. Make active under rembrandt too. add model-combined-deferred as a stub for now for specific
Rembrandt use.
Users of model-combined with normalmaps should change the technique number to 9, and duplicate that entry for technique 8.
Fix some longstanding png warnings. Provide null_reflectdir.png for model-combined
This should fix part of bug #726
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-03-31 15:00:36 +03:00
Vivian Meazza
a41bc4e8cc Documentation for the use of the uber-shader
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-15 10:16:21 +00:00