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

Area Light

Area light defines rectangular ligth source. Area light can define its width, height, diffuse and specular colour. (How to define position and color you can find it in common).

Area light implementation used in engine is based on Eric Heitz paper and only shape supported right now is rectangle.

<AreaLight width="1" height="10">
    <translate sid="location">0 1 0</translate>
    <rotate>1 0 0 45</rotate>
    <diffuseColor>1 0 0</diffuseColor>
    <specularColor>1 1 1</specularColor>
</AreaLight>

Three point lights in the scene

← Point LightNext →
More
GitHubStar
Follow @DominikRohacek
Facebook Open Source
Copyright © 2020 Dominik Rohacek