XLE  v0.02.0
Classes | Public Member Functions | Protected Attributes | List of all members
ToolsRig::AoGen Class Reference

Generates pre-calculated AO information for a model More...

#include <GenerateAO.h>

Classes

class  Desc
 

Public Member Functions

float CalculateSkyDomeOcclusion (RenderCore::IThreadContext &threadContext, const RenderCore::Assets::ModelRenderer &renderer, RenderCore::Assets::SharedStateSet &sharedStates, const RenderCore::Assets::MeshToModel &meshToModel, const Float3 &samplePoint)
 
const DescGetSettings () const
 
const std::shared_ptr<::Assets::DependencyValidation > & GetDependencyValidation () const
 
 AoGen (const Desc &settings)
 

Protected Attributes

std::unique_ptr< Pimpl > _pimpl
 

Detailed Description

Generates pre-calculated AO information for a model

Actually, more specifically this can be used for calculating the fraction of the sky dome that is internally occluded by a static model. This can be used for blocking direct light from the skydome (which should be similar to blocking indirect light bounced off nearby sources).


The documentation for this class was generated from the following files: