Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::PointLightComponent Struct Reference

Omnidirectional light source with attenuation. More...

#include <PointLightComponent.h>

Public Attributes

Crux::vec3 Color = {1.0f, 1.0f, 1.0f}
 Light color.
float Intensity = 1.0f
 Light brightness.
float Range = 10.0f
 Maximum light radius.
float Linear = 0.09f
 Linear attenuation factor.
float Quadratic = 0.032f
 Quadratic attenuation factor.
float SpecularStrength = 1.0f
 Specular contribution multiplier.
bool CastsShadows = false
 Shadow casting toggle.

Detailed Description

Omnidirectional light source with attenuation.

Member Data Documentation

◆ CastsShadows

bool Raven::PointLightComponent::CastsShadows = false

Shadow casting toggle.

◆ Color

Crux::vec3 Raven::PointLightComponent::Color = {1.0f, 1.0f, 1.0f}

Light color.

◆ Intensity

float Raven::PointLightComponent::Intensity = 1.0f

Light brightness.

◆ Linear

float Raven::PointLightComponent::Linear = 0.09f

Linear attenuation factor.

◆ Quadratic

float Raven::PointLightComponent::Quadratic = 0.032f

Quadratic attenuation factor.

◆ Range

float Raven::PointLightComponent::Range = 10.0f

Maximum light radius.

◆ SpecularStrength

float Raven::PointLightComponent::SpecularStrength = 1.0f

Specular contribution multiplier.


The documentation for this struct was generated from the following file: