mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
perf(shadow): increase depth map resolution and refine PCF sampling
This commit is contained in:
@@ -39,8 +39,7 @@ private:
|
||||
static constexpr float NEAR_PLANE = 0.1f;
|
||||
static constexpr float SUN_SIZE = 50.0f;
|
||||
static constexpr float MOON_SIZE = 50.0f;
|
||||
static constexpr float DEPTH_MAP_WIDTH = 2048.0f;
|
||||
static constexpr float DEPTH_MAP_HEIGHT = 2048.0f;
|
||||
static constexpr float DEPTH_MAP_SIZE = 4096.0f;
|
||||
float m_ambient_strength = 0.1f;
|
||||
|
||||
const Camera& m_camera;
|
||||
|
||||
Reference in New Issue
Block a user