add 'sky_tint', 'clouds_tint', 'min_sky_light' weather parameters

This commit is contained in:
MihailRis 2026-02-12 20:27:29 +03:00
parent 1194379f99
commit e037462615
22 changed files with 80 additions and 31 deletions

View file

@ -49,6 +49,7 @@ class Skybox {
float prevMie = -1.0f;
float prevT = -1.0f;
float sunAltitude = 45.0f;
glm::vec3 prevHighlight {1.0f};
glm::mat4 rotation;
void drawStars(float angle, float opacity);
@ -68,7 +69,7 @@ public:
float fog
);
void refresh(const DrawContext& pctx, float t, float mie, uint quality);
void refresh(const DrawContext& pctx, float t, float mie, const glm::vec3& tint, const glm::vec3& hightlight, uint quality);
void bind() const;
void unbind() const;
bool isReady() const {