mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add 'sky_tint', 'clouds_tint', 'min_sky_light' weather parameters
This commit is contained in:
parent
1194379f99
commit
e037462615
22 changed files with 80 additions and 31 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue