Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 267 vs 268 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/Headers/ShadowMap.h

Diff revisions: vs.
  @@ -55,8 +55,6 @@
55 55 inline FrameBuffer* getDepthMap() { return _depthMap; }
56 56 inline const vectorImpl<F32>& getShadowFloatValues() const { return _shadowFloatValues; }
57 57
58 - inline bool isBound() {return _isBound;}
59 -
60 58 U16 resolution();
61 59 virtual void resolution(U16 resolution, U8 resolutionFactor) {}
62 60
  @@ -67,6 +65,9 @@
67 65 virtual void updateResolution(I32 newWidth, I32 newHeight) {}
68 66
69 67 protected:
68 + virtual bool BindInternal(U8 offset);
69 +
70 + protected:
70 71 ShadowType _shadowMapType;
71 72 ///The depth maps. Number depends on the current method
72 73 FrameBuffer* _depthMap;
  @@ -76,7 +77,6 @@
76 77 Camera* _shadowCamera;
77 78 ParamHandler& _par;
78 79 bool _init;
79 - bool _isBound;
80 80 mat4<F32> _bias;
81 81 // _shadowFloatValues are generic floating point values needed for shadow mapping such as farBounds, biases, etc.
82 82 vectorImpl<F32> _shadowFloatValues;