|
Nebula
|
The lighting subsystem allows for attaching light source functionality to a GraphicsEntityId.
It currently supports a deferred renderer, dynamic global and local shadows, as well as light probes which are used for dynamic or static environment reflections and irradiance.
Classes | |
| class | LightContext |
Functions | |
| __ImplementContext (LightContext, LightContext::genericLightAllocator) | |
| void | CalculateCSMSplits (const Graphics::GraphicsEntityId camera, const Math::vec3 lightDirection, const Util::FixedArray< float > &distances, Util::FixedArray< Math::mat4 > &projections, Util::FixedArray< Math::mat4 > &viewProjections, const float shadowTileSize, const Math::bbox &shadowRegion) |
| Lighting::__ImplementContext | ( | LightContext | , |
| LightContext::genericLightAllocator | ) |
| void Lighting::CalculateCSMSplits | ( | const Graphics::GraphicsEntityId | camera, |
| const Math::vec3 | lightDirection, | ||
| const Util::FixedArray< float > & | distances, | ||
| Util::FixedArray< Math::mat4 > & | projections, | ||
| Util::FixedArray< Math::mat4 > & | viewProjections, | ||
| const float | shadowTileSize, | ||
| const Math::bbox & | shadowRegion ) |
| CoreGraphics::ShaderId Lighting::classificationShader |
| CoreGraphics::BufferId Lighting::clusterLightIndexLists |
| CoreGraphics::BufferId Lighting::clusterLightsList |
| CoreGraphics::BufferId Lighting::clusterPointLights |
| CoreGraphics::BufferId Lighting::clusterSpotLights |
| struct { ... } Lighting::clusterState |
| CoreGraphics::BufferId Lighting::combineConstants |
| CoreGraphics::ShaderProgramId Lighting::combineProgram |
| CoreGraphics::ShaderId Lighting::combineShader |
| struct { ... } Lighting::combineState |
| LightsCluster::LightUniforms::STRUCT Lighting::consts |
| CoreGraphics::ShaderProgramId Lighting::cullProgram |
| CoreGraphics::ShaderProgramId Lighting::debugProgram |
| LightsCluster::LightLists::STRUCT Lighting::lightList |
| struct { ... } Lighting::lightServerState |
| CoreGraphics::TextureId Lighting::ltcLut0 |
| CoreGraphics::TextureId Lighting::ltcLut1 |
| uint Lighting::numThreadsThisFrame |
| CoreGraphics::ShaderProgramId Lighting::renderProgram |
| CoreGraphics::ResourceTableId Lighting::resourceTable |
| Util::FixedArray<CoreGraphics::ResourceTableId> Lighting::resourceTables |
| CoreGraphics::TextureId Lighting::shadowAtlas |
| Util::OccupancyQuadTree Lighting::shadowAtlasTileOctree |
| CoreGraphics::TextureViewId Lighting::shadowAtlasView |
| Util::Array<Ids::Id32> Lighting::shadowCastingLights |
| CoreGraphics::PassId Lighting::shadowPass |
| Util::Array<Graphics::GraphicsEntityId> Lighting::spotLightEntities |
| CoreGraphics::BufferSet Lighting::stagingClusterLightsList |
| CoreGraphics::TextureId Lighting::terrainShadowMap = CoreGraphics::InvalidTextureId |
| uint Lighting::terrainShadowMapSize |
| uint Lighting::terrainSize |
| struct { ... } Lighting::textureState |