GLEngine documentation

GLEngine documentation

  • Code manual
  • User manual

›Level definition

Level definition

  • User manual
  • Level definition

    • Level definition
    • Common
    • Point Light
    • Area Light
    • Static mesh

Point Light

Point light will define point light source. Light is defined by its offset from the entity position and color. Both properties are being set as described in common part of level definition docuemntaion. Also its intensity can be set as component attribute.

<PointLight intensity="30.0">
    <translate sid="location">0 1 0</translate>
    <color>0.4 0.3 0.1</color>
</PointLight>

Three point lights in the scene

← PreviousArea Light →
More
GitHubStar
Follow @DominikRohacek
Facebook Open Source
Copyright © 2020 Dominik Rohacek