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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user