Searched refs:lightComponent (Results 1 - 6 of 6) sorted by relevance
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.h | 51 CORE_NS::Entity CreateLight(CORE_NS::IEcs& ecs, const LightComponent& lightComponent,
|
H A D | scene_util.cpp | 251 IEcs& ecs, const LightComponent& lightComponent, const Math::Vec3& position, const Math::Quat& rotation) const in CreateLight() 277 LightComponent lc = lightComponent; in CreateLight() 250 CreateLight( IEcs& ecs, const LightComponent& lightComponent, const Math::Vec3& position, const Math::Quat& rotation) const CreateLight() argument
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/ |
H A D | intf_scene_util.h | 93 * @param lightComponent A filled up light component struct (will be attached to ECS internally. 98 virtual CORE_NS::Entity CreateLight(CORE_NS::IEcs& ecs, const LightComponent& lightComponent,
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 2051 const auto& lightComponent = lpd.lightComponent; 2052 RenderLight light { lpd.entity.id, lightComponent.lightLayerMask, 2055 { lightComponent.color, lightComponent.intensity } }; 2059 const float outer = Math::clamp(lightComponent.spotOuterAngle, lightComponent.spotInnerAngle, Math::PI / 2.0f); 2060 const float inner = Math::clamp(lightComponent.spotInnerAngle, 0.0f, outer); 2062 if (lightComponent.type == LightComponent::Type::DIRECTIONAL) { 2064 } else if (lightComponent [all...] |
H A D | render_system.h | 164 const LightComponent& lightComponent; member
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 533 auto const lightComponent = lightManager->Get(lightEntity); in ExportGltfLight() local 534 switch (lightComponent.type) { in ExportGltfLight() 536 CORE_LOG_E("cannot export light %u", static_cast<uint32_t>(lightComponent.type)); in ExportGltfLight() 552 exportLight->color = lightComponent.color; in ExportGltfLight() 553 exportLight->intensity = lightComponent.intensity; in ExportGltfLight() 554 exportLight->positional.range = lightComponent.range; in ExportGltfLight() 556 exportLight->positional.spot.innerAngle = lightComponent.spotInnerAngle; in ExportGltfLight() 557 exportLight->positional.spot.outerAngle = lightComponent.spotOuterAngle; in ExportGltfLight() 559 exportLight->shadow.shadowCaster = lightComponent.shadowEnabled; in ExportGltfLight()
|
Completed in 19 milliseconds