Lighting (Built-in Patch) in Environment

This macro patch configures an environment lighting that affects the rendering of its subpatches.

Along with the ambient light, up to 8 omnidirectional lights each of them using a different color can be defined. If the attenuation parameter of a light is greater than 0, its intensity will diminish linearly with the distance.

Specular and shininess factors for the materials of the illuminated objects are set globally through the related inputs of this patch.

Input Attributes
  • Enable - Controls execution of the patch.
  • Material Specularity - Specular factor for objects material.
  • Material Shininess - Shininess factor for objects material.
  • Ambient Light - Scene ambient light.
  • color_1
  • attenuation_1
  • positionX_1
  • positionY_1
  • positionZ_1
  • castShadows_1
  • shadowColor_1
  • quality_1
Output Attributes
None
0 videos
0 comments
Bf9a01b6ccc05dea53134f59ff712fee