Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Lightmapper::CGPUBaker Class Reference
Inheritance diagram for Skylicht::Lightmapper::CGPUBaker:
Skylicht::Lightmapper::CMTBaker

Public Member Functions

bool canUseGPUBaker ()
virtual void computeSH (int count, int numFace)
Public Member Functions inherited from Skylicht::Lightmapper::CMTBaker
virtual void bake (CCamera *camera, IRenderPipeline *rp, CEntityManager *entityMgr, const core::vector3df *position, const core::vector3df *normal, const core::vector3df *tangent, const core::vector3df *binormal, int count, int numFace)
int getMaxMT ()
const CSH9getSH (int i)

Protected Attributes

IGPUComputem_shCompute
IRWBufferm_shBuffer
float * m_tangentToSpaceData
Protected Attributes inherited from Skylicht::Lightmapper::CMTBaker
video::ITexturem_radiance
CSH9 m_sh [MAX_NUM_THREAD]
core::matrix4 m_toTangentSpace [MAX_NUM_THREAD *NUM_FACES]
float m_weightSum

Member Function Documentation

◆ computeSH()

virtual void Skylicht::Lightmapper::CGPUBaker::computeSH ( int count,
int numFace )
virtual

Reimplemented from Skylicht::Lightmapper::CMTBaker.


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