Point lights
This commit is contained in:
@@ -21,8 +21,8 @@ void HydraDirectionalLightActor::InitialiseComponents()
|
||||
HydraLightComponent light_comp = {};
|
||||
HydraECS *ecs = GetEngine()->ECS();
|
||||
|
||||
light_comp.diffuse = glm::vec4(1.0,0.8,0.6,1);
|
||||
light_comp.intensity = 100000.0f;
|
||||
light_comp.diffuse = glm::vec4(1.0f, 1.0f, 1.0f ,1.0f);
|
||||
light_comp.intensity = 1000.0f;
|
||||
light_comp.light_type = static_cast<uint32_t>(HYDRA_LIGHT_TYPE::HYDRA_LIGHT_DIRECTIONAL);
|
||||
light_comp.entity_id = GetID();
|
||||
light_comp.shadow_caster =1;
|
||||
|
||||
Reference in New Issue
Block a user