mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
Switched back to 3 cascades
This commit is contained in:
parent
d14ebdc0e1
commit
2a19247530
2 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,9 @@ const glm::mat4 LightStage::Shadow::_biasMatrix{
|
|||
0.0, 0.5, 0.0, 0.0,
|
||||
0.0, 0.0, 0.5, 0.0,
|
||||
0.5, 0.5, 0.5, 1.0 };
|
||||
const unsigned int LightStage::SUN_SHADOW_CASCADE_COUNT{ 4 };
|
||||
const int LightStage::Shadow::MAP_SIZE = 1024;
|
||||
|
||||
const unsigned int LightStage::SUN_SHADOW_CASCADE_COUNT{ 3 };
|
||||
const LightStage::Index LightStage::INVALID_INDEX { render::indexed_container::INVALID_INDEX };
|
||||
|
||||
LightStage::LightStage() {
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
class Shadow {
|
||||
public:
|
||||
using UniformBufferView = gpu::BufferView;
|
||||
static const int MAP_SIZE = 1024;
|
||||
static const int MAP_SIZE;
|
||||
|
||||
class Cascade {
|
||||
friend Shadow;
|
||||
|
|
Loading…
Reference in a new issue