XLE
v0.02.0
|
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 Desc & | GetSettings () const |
const std::shared_ptr<::Assets::DependencyValidation > & | GetDependencyValidation () const |
AoGen (const Desc &settings) | |
Protected Attributes | |
std::unique_ptr< Pimpl > | _pimpl |
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).