Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
DirectionalLight.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4#include <glm/gtc/matrix_transform.hpp>
5
6namespace Object::Component {
7
9 glm::vec4 color{1.0f};
10 glm::mat4 projection = glm::orthoLH_ZO(-30.0f, 30.0f, -30.0f, 30.0f, 0.1f, 60.0f);
11};
12} // namespace Object::Component
Definition AmbientLight.hpp:5
Definition DirectionalLight.hpp:8
glm::vec4 color
Definition DirectionalLight.hpp:9
glm::mat4 projection
Definition DirectionalLight.hpp:10