|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Realistic light that emits from a rectangle shape (example: screens, neons) More...
#include <OxygenEngine/scene/lighting.h>
Public Attributes | |
| glm::vec3 | color = glm::vec3(1.0) |
| Light color. | |
| bool | double_sided |
| Does the light should be displayed on both sides. | |
| bool | is_active = true |
| Is the light on. | |
| std::array< glm::vec3, 4 > | points |
| Light quad bounds (in world space) | |
Realistic light that emits from a rectangle shape (example: screens, neons)
| std::array<glm::vec3, 4> oe::scene::AreaLight::points |
Light quad bounds (in world space)
Todo: Front face is considered to be from clockwise order?