|
| virtual void | initRender (int w, int h) |
| virtual void | render (ITexture *target, CCamera *camera, CEntityManager *entityManager, const core::recti &viewport, int cubeFaceId=-1, IRenderPipeline *lastRP=NULL) |
| virtual const core::aabbox3df & | getFrustumBox () |
| Public Member Functions inherited from Skylicht::CShadowBakeRP |
|
void | setCurrentLight (CLight *light) |
|
CLight * | getCurrentLight () |
|
void | setBakeInUV0 (bool b) |
|
bool | isBakeInUV0 () |
|
void | setBakeDetailNormal (bool b) |
|
bool | isBakeDetailNormal () |
| Public Member Functions inherited from Skylicht::CShadowMapRP |
|
void | release () |
|
void | setShadowCascade (int numCascade, int shadowMapSize=2048, float farValue=300.0f) |
|
void | setNoShadowCascade (int shadowMapSize=2048, float farValue=50.0f) |
|
void | setShadowMapping (EShadowMapType type) |
| virtual void | resize (int w, int h) |
| virtual bool | canRenderMaterial (CMaterial *m) |
| virtual bool | canRenderShader (CShader *s) |
| virtual void | drawMeshBuffer (CMesh *mesh, int bufferID, CEntityManager *entity, int entityID, bool skinnedMesh) |
| virtual void | drawInstancingMeshBuffer (CMesh *mesh, int bufferID, CShader *instancingShader, CEntityManager *entityMgr, int entityID, bool skinnedMesh) |
|
virtual bool | OnProcessEvent (const SEvent &event) |
| virtual void | updateShaderResource (CShader *shader, CEntityManager *entity, int entityID, video::SMaterial &irrMaterial) |
|
ITexture * | getDepthTexture () |
|
virtual float * | getShadowDistance () |
|
virtual float * | getShadowMatrices () |
|
ERenderShadowState | getRenderShadowState () |
| virtual void | setCamera (CCamera *camera) |
| virtual void | setNextPipeLine (IRenderPipeline *next) |
|
virtual void | onNext (ITexture *target, CCamera *camera, CEntityManager *entity, const core::recti &vp, int cubeFaceId) |
|
virtual void | updateTextureResource (CMesh *mesh, int bufferID, CEntityManager *entity, int entityID, bool skinnedMesh) |
|
void | beginRender2D (float w, float h) |
|
void | renderBufferToTarget (float sx, float sy, float sw, float sh, SMaterial &material, bool flipY=true, bool flipX=false) |
|
void | renderBufferToTarget (float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh, SMaterial &material, bool flipY=true, bool flipX=false) |
|
void | renderEnvironment (CCamera *camera, CEntityManager *entityMgr, const core::vector3df &position, ITexture *texture[], int *face, int numFace, bool allPipeline) |
|
void | renderCubeEnvironment (CCamera *camera, CEntityManager *entityMgr, const core::vector3df &position, ITexture *texture, int *face, int numFace, bool allPipeline) |
|
void | unbindRTT () |
|
virtual ERenderPipelineType | getType () |
|
virtual void | render (ITexture *target, CCamera *camera, CEntityManager *entity, const core::recti &viewport, int cubeFaceId=-1, IRenderPipeline *lastRP=NULL)=0 |
|
virtual void | onNext (ITexture *target, CCamera *camera, CEntityManager *entity, const core::recti &viewport, int cubeFaceId)=0 |
| virtual bool | OnProcessEvent (const SEvent &event)=0 |
|
| Public Types inherited from Skylicht::CShadowMapRP |
| enum | EShadowMapType { CascadedShadow = 0
, ShadowMapping
} |
| enum | ERenderShadowState { DirectionLight = 0
, PointLight
, AreaLight
} |
| enum | ERenderPipelineType { Forwarder
, Deferred
, ShadowMap
, Mix
} |
|
static void | saveFBOToFile (ITexture *texture, const char *output) |
|
static void | setBakeMode (bool b) |
|
static void | setBakeLightmapMode (bool b) |
|
static void | setBakeLightingMapBounce (u32 i) |
|
static void | setClearColor (const SColor &c) |
|
static void | setMaxLight (u32 maxLights) |
|
std::function< void(IRenderPipeline *)> | OnFinish |
| Protected Member Functions inherited from Skylicht::CShadowMapRP |
|
CCascadedShadowMaps * | getCSM () |
|
void | disableTextureBilinear (SMaterial &m, int slot) |
|
void | enableTextureBilinear (SMaterial &m, int slot) |
|
void | setTarget (ITexture *target, int faceId) |
|
void | drawSceneToTexture (ITexture *target, CCamera *camera, CEntityManager *entityMgr, bool allPipeline) |
|
void | drawSceneToCubeTexture (ITexture *target, CCamera *camera, video::E_CUBEMAP_FACE faceID, CEntityManager *entityMgr, bool allPipeline) |
|
static bool | s_bakeMode |
|
static bool | s_bakeLMMode |
|
static u32 | s_bakeBounce |
|
static u32 | s_maxLight |
|
static SColor | s_clearColor |