shader

 

Tag: shader
Parent tag: map
Attributes:

  • fromMaterial – specifies the name of the material which defines the shaders uniforms
  • fromLibrary – specifies the name of the material library
  • where the material can be found.

Child tags: none

Example:

	
<injectionMaps>
	<map toMaterial="*">
		<shader fromMaterial ="diffAmbSpecPerPixel" fromLibrary="Lighting" />
	</map>
</injectionMaps>