Howto:Aircraft reflection shader: Difference between revisions

Jump to navigation Jump to search
raised notice severity
(add warning against using reflect.eff and reflect-bump-spec in new work. clarify model-combined-* usage)
(raised notice severity)
Line 10: Line 10:
=== reflect.eff ===
=== reflect.eff ===


{{note|This shader is deprecated, and should not be used by new development. It is left in due to the vast amount of aircraft relying on it that need to be upgraded to model-combined-deferred/model-combined-transparent}}
{{warning|This shader is deprecated, and should not be used by new development. It is left in due to the vast amount of aircraft relying on it that need to be upgraded to model-combined-deferred/model-combined-transparent.
Use model-combined-deferred/model-combined-transparent instead
}}
   
   
It all began with a simple ReflectionShader, which simply adds a spherical map on the surface of the object. This shader works on not-UVmapped surfaces. Ideal for simple chrome parts.
It all began with a simple ReflectionShader, which simply adds a spherical map on the surface of the object. This shader works on not-UVmapped surfaces. Ideal for simple chrome parts.
Line 18: Line 20:
=== reflect-bump-spec.eff ===
=== reflect-bump-spec.eff ===


{{note|This shader is deprecated, and should not be used by new development. It is left in due to compatibility reasons}}
{{warning|This shader is deprecated, and should not be used by new development. It is left in due to compatibility reasons.
Use model-combined-deferred/model-combined-transparent instead
}}


Later it had been enhanced by a [[Howto: Use the normal map effect in aircraft|Normalmap]]. This makes the surface appear "bumpy" depending on the used normalmap. The alpha channel of the normalmal also defines the specularity of the surface. This shader works only on UVmapped surfaces!
Later it had been enhanced by a [[Howto: Use the normal map effect in aircraft|Normalmap]]. This makes the surface appear "bumpy" depending on the used normalmap. The alpha channel of the normalmal also defines the specularity of the surface. This shader works only on UVmapped surfaces!
422

edits

Navigation menu