Function addStandardLightComponents

  • Adds a light setup to the node given, consisting of an ambient light, a directional key light and a directional back light. Exept of the node to become the container, all parameters are optional and provided default values for general purpose.

    Parameters

    • _node: Node
    • _clrAmbient: Color = ...
    • _clrKey: Color = ...
    • _clrBack: Color = ...
    • _posKey: Vector3 = ...
    • _posBack: Vector3 = ...

    Returns void