Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 863 vs 883 for /trunk/Source Code/Rendering/Lighting/Headers/Light.h

Diff revisions: vs.
  @@ -213,9 +213,8 @@
213 213 _type = type;
214 214 }
215 215
216 - /// Get a ref to the shadow camera used by this light
217 - Camera* const shadowCamera() const { return _shadowCamera; }
218 216 void updateImpostor();
217 +
219 218 protected:
220 219 bool _spotPropertiesChanged;
221 220 /// Used to generate spot light penumbra using D3D's dual-cone method
  @@ -242,7 +241,7 @@
242 241 /// Used for debug rendering
243 242 std::shared_ptr<ImpostorSphere> _impostor;
244 243 SceneGraphNode_wptr _impostorSGN;
245 - Camera* _shadowCamera;
244 + ShadowCameraPool _shadowCameras;
246 245 LightPool& _parentPool;
247 246 bool _enabled;
248 247 };