Rebel Fork Framework
LightTracer.h File Reference

Classes

struct  Urho3D::LightmapChartBakedDirect
 Direct light accumulated for given lightmap chart. More...
 
struct  Urho3D::LightmapChartBakedIndirect
 Indirect light accumulated for given lightmap chart. More...
 

Functions

void Urho3D::PreprocessGeometryBuffer (LightmapChartGeometryBuffer &geometryBuffer, const RaytracerScene &raytracerScene, const ea::vector< unsigned > &geometryBufferToRaytracer, const GeometryBufferPreprocessSettings &settings)
 Preprocess geometry buffer. Fix shadow bleeding.
 
void Urho3D::BakeEmissionLight (LightmapChartBakedDirect &bakedDirect, const LightmapChartGeometryBuffer &geometryBuffer, const EmissionLightTracingSettings &settings, float indirectBrightnessMultiplier)
 Accumulate emission light.
 
void Urho3D::BakeDirectLightForCharts (LightmapChartBakedDirect &bakedDirect, const LightmapChartGeometryBuffer &geometryBuffer, const RaytracerScene &raytracerScene, const ea::vector< unsigned > &geometryBufferToRaytracer, const BakedLight &light, const DirectLightTracingSettings &settings)
 Accumulate direct light for charts.
 
void Urho3D::BakeDirectLightForLightProbes (LightProbeCollectionBakedData &bakedData, const LightProbeCollectionForBaking &collection, const RaytracerScene &raytracerScene, const BakedLight &light, const DirectLightTracingSettings &settings)
 Accumulate direct light for light probes.
 
void Urho3D::BakeIndirectLightForCharts (LightmapChartBakedIndirect &bakedIndirect, const ea::vector< const LightmapChartBakedDirect * > &bakedDirect, const LightmapChartGeometryBuffer &geometryBuffer, const TetrahedralMesh &lightProbesMesh, const LightProbeCollectionBakedData &lightProbesData, const RaytracerScene &raytracerScene, const ea::vector< unsigned > &geometryBufferToRaytracer, const IndirectLightTracingSettings &settings)
 Accumulate indirect light for charts.
 
void Urho3D::BakeIndirectLightForLightProbes (LightProbeCollectionBakedData &bakedData, const LightProbeCollectionForBaking &collection, const ea::vector< const LightmapChartBakedDirect * > &bakedDirect, const RaytracerScene &raytracerScene, const IndirectLightTracingSettings &settings)
 Accumulate indirect light for light probes.