#include <string>
#include <vector>
#include <memory>
#include <IrrlichtDevice.h>
#include "client/shadows/dynamicshadows.h"
#include <ISceneNode.h>
#include <ISceneManager.h>
Go to the source code of this file.
◆ E_SHADOW_MODE
| Enumerator |
|---|
| ESM_RECEIVE | |
| ESM_BOTH | |
◆ createShadowRenderer()
Create a shadow renderer if settings allow this.
- Parameters
-
| device | Device to be used to render shadows. |
| client | Reference to the client context. |
- Returns
- A new ShadowRenderer instance or nullptr if shadows are disabled or not supported.
References g_settings, and warningstream.
Referenced by createPipeline().