13,212
edits
(The quality settings response has been deprecated in newer versions since it didn't bring about any real benefit. Shader is now off with Model slider to the left, on with Model slider anywhere else) |
(+- messagebox texts; "Template:Readme file"; Links to source code) |
||
Line 7: | Line 7: | ||
{{caution| | {{caution| | ||
Do '''not''' | Do '''not''' in any situation use the normal-map enabled effect on objects that are either or both | ||
* completely uv-mapped to a texture | * Not completely uv-mapped to a texture. | ||
* | * Without that texture available at runtime. | ||
FlightGear will crash with a '''segfault''' if the binormal/tangent generator fails to find this texture information at runtime.}} | |||
== When are the effects used == | == When are the effects used == | ||
{{ | {{note| | ||
Newer versions of the shader do not respond to the quality settings anymore, since there is no real benefit, compared to just turning the shader on and off. | |||
The shader is turned off with ''Model'' slider to the left, turned on with full functionality for any other position of the ''Model'' slider. | The shader is turned off with ''Model'' slider to the left, turned on with full functionality for any other position of the ''Model'' slider. | ||
The features can be turned on/off as needed for the desired material appearance via configuration of the effect parameters}} | The features can be turned on/off as needed for the desired material appearance via configuration of the effect parameters.}} | ||
The effect responds to the quality setting of the ''Model'' slider in the advanced shader configuration, in the following order: | The effect responds to the quality setting of the ''Model'' slider in the advanced shader configuration, in the following order: | ||
Line 47: | Line 48: | ||
=== Readme === | === Readme === | ||
* | * {{readme file|model-combined.eff}} | ||
=== Source code === | |||
* {{repo link | |||
| site = sf | |||
| proj = flightgear/fgdata | |||
| path = Effects/model-combined.eff | |||
| text = fgdata/Effects/model-combined.eff | |||
}} | |||
* {{repo link | |||
| site = sf | |||
| proj = flightgear/fgdata | |||
| path = Effects/model-combined-deferred.eff | |||
| text = fgdata/Effects/model-combined-deferred.eff | |||
}} | |||
* {{repo link | |||
| site = sf | |||
| proj = flightgear/fgdata | |||
| path = Effects/model-combined-transparent.eff | |||
| text = fgdata/Effects/model-combined-transparent.eff | |||
}} | |||
[[Category:Aircraft enhancement]] | [[Category:Aircraft enhancement]] |