|
|
@@ -263,9 +263,7 @@ Renderer::Renderer(Context* context) :
|
|
|
Object(context),
|
|
|
defaultZone_(new Zone(context)),
|
|
|
quadDirLight_(new Light(context)),
|
|
|
- numViews_(0),
|
|
|
- numShadowCameras_(0),
|
|
|
- numOcclusionBuffers_(0),
|
|
|
+ renderMode_(RENDER_FORWARD),
|
|
|
textureAnisotropy_(4),
|
|
|
textureFilterMode_(FILTER_TRILINEAR),
|
|
|
textureQuality_(QUALITY_HIGH),
|
|
|
@@ -279,8 +277,10 @@ Renderer::Renderer(Context* context) :
|
|
|
maxOccluderTriangles_(5000),
|
|
|
occlusionBufferSize_(256),
|
|
|
occluderSizeThreshold_(0.025f),
|
|
|
+ numViews_(0),
|
|
|
+ numOcclusionBuffers_(0),
|
|
|
+ numShadowCameras_(0),
|
|
|
shadersChangedFrameNumber_(M_MAX_UNSIGNED),
|
|
|
- renderMode_(RENDER_FORWARD),
|
|
|
specularLighting_(true),
|
|
|
drawShadows_(true),
|
|
|
reuseShadowMaps_(true),
|