64-bit hashes (#126)
- ContactEvent sample - Improved shadows - #120 - Triangle collision fixes
This commit is contained in:
parent
3fc20f5b45
commit
f42be210a2
49 changed files with 19835 additions and 17544 deletions
|
|
@ -226,6 +226,18 @@ public:
|
|||
int m_profileReadIndex;
|
||||
int m_profileWriteIndex;
|
||||
|
||||
// View-space distance range the shadow cascades split over, set during
|
||||
// construction. Left at zero the range is guessed from the world bounds,
|
||||
// which only works when the camera sits close to the content. A scene
|
||||
// viewed from far off wants an explicit range: the guess spends every
|
||||
// cascade on the empty space in front of the camera and the shadows stop
|
||||
// partway into the scene.
|
||||
//
|
||||
// Authored against the sample's opening camera, so flying well away from
|
||||
// it can still outrun the far end.
|
||||
float m_shadowSplitNear;
|
||||
float m_shadowSplitFar;
|
||||
|
||||
b3Vec2 m_mouseLast;
|
||||
b3Vec2 m_mouseDelta;
|
||||
bool m_didStep;
|
||||
|
|
|
|||
Loading…
Reference in a new issue