#include <cstring>
#include <cmath>
#include "client/shadows/dynamicshadowsrender.h"
#include "client/shadows/shadowsScreenQuad.h"
#include "client/shadows/shadowsshadercallbacks.h"
#include "settings.h"
#include "filesys.h"
#include "util/string.h"
#include "client/shader.h"
#include "client/client.h"
#include "client/clientmap.h"
#include "profiler.h"
#include "EShaderTypes.h"
#include "IGPUProgrammingServices.h"
#include "IMaterialRenderer.h"
#include <IVideoDriver.h>
Functions | |
ShadowRenderer * | createShadowRenderer (IrrlichtDevice *device, Client *client) |
Create a shadow renderer if settings allow this. | |
ShadowRenderer * createShadowRenderer | ( | IrrlichtDevice * | device, |
Client * | client ) |
Create a shadow renderer if settings allow this.
device | Device to be used to render shadows. |
client | Reference to the client context. |
References g_settings, Settings::getBool(), ShadowRenderer::initialize(), and Settings::setBool().
Referenced by createPipeline().