Skip to main content

diffuse_gi

Function diffuse_gi 

Source
pub fn diffuse_gi(
    octree: &SparseVoxelOctree,
    position: Vec3,
    normal: Vec3,
    config: &ConeTraceConfig,
) -> Vec3
Expand description

Compute diffuse global illumination by tracing multiple cones in a hemisphere.