Vp::SunLight
#include "Viewport/scene/lights/SunLight.h"
Inherits from Vp::Light
Public Functions
Name | |
---|---|
virtual void | setUniforms(const PhongShader & shader, int index) const override |
Public Attributes
Name | |
---|---|
glm::vec3 | direction |
Additional inherited members
Public Functions inherited from Vp::Light
Name | |
---|---|
virtual | ~Light() =default |
Public Attributes inherited from Vp::Light
Name | |
---|---|
glm::vec3 | color |
float | intensity |
glm::vec3 | pos |
glm::vec3 | specular |
Public Functions Documentation
function setUniforms
cpp
virtual void setUniforms(
const PhongShader & shader,
int index
) const override
virtual void setUniforms(
const PhongShader & shader,
int index
) const override
Reimplements: Vp::Light::setUniforms
Public Attributes Documentation
variable direction
cpp
glm::vec3 direction = glm::vec3(0.8, 0, -1);
glm::vec3 direction = glm::vec3(0.8, 0, -1);
Updated on 2024-11-06 at 20:16:53 +0000