Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
PointLight.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4
5namespace Object::Component {
6
7struct PointLight {
8 glm::vec3 color = glm::vec3(1.0f);
9 float intensity = 1.0f;
10 float radius = 10.0f;
11 float falloff = 1.0f;
12};
13} // namespace Object::Component
Definition AmbientLight.hpp:5
Definition PointLight.hpp:7
glm::vec3 color
Definition PointLight.hpp:8
float intensity
Definition PointLight.hpp:9
float falloff
Definition PointLight.hpp:11
float radius
Definition PointLight.hpp:10