mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-26 21:35:28 +01:00
Fix shadow flicker on camera offset update (#15709)
This commit is contained in:
@@ -34,9 +34,9 @@ public:
|
||||
f32 farValue = 100.0f);
|
||||
~DirectionalLight() = default;
|
||||
|
||||
//DISABLE_CLASS_COPY(DirectionalLight)
|
||||
void updateCameraOffset(const Camera *cam);
|
||||
|
||||
void update_frustum(const Camera *cam, Client *client, bool force = false);
|
||||
void updateFrustum(const Camera *cam, Client *client);
|
||||
|
||||
// when set direction is updated to negative normalized(direction)
|
||||
void setDirection(v3f dir);
|
||||
|
||||
Reference in New Issue
Block a user