1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-16 09:55:22 +02:00

Implement rendering pipeline and post-processing (#12465)

Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: lhofhansl <lhofhansl@yahoo.com>
This commit is contained in:
x2048
2022-09-06 08:25:18 +02:00
committed by GitHub
parent 464043b8ab
commit ff6dcfea82
32 changed files with 1476 additions and 565 deletions

View File

@@ -160,3 +160,12 @@ private:
shadowScreenQuad *m_screen_quad{nullptr};
shadowScreenQuadCB *m_shadow_mix_cb{nullptr};
};
/**
* @brief Create a shadow renderer if settings allow this.
*
* @param device Device to be used to render shadows.
* @param client Reference to the client context.
* @return A new ShadowRenderer instance or nullptr if shadows are disabled or not supported.
*/
ShadowRenderer *createShadowRenderer(IrrlichtDevice *device, Client *client);