mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
fix stars and skybox render
This commit is contained in:
parent
ac9772cd67
commit
8a3306ed41
4 changed files with 33 additions and 10 deletions
|
|
@ -48,6 +48,8 @@ class Skybox {
|
|||
|
||||
float prevMie = -1.0f;
|
||||
float prevT = -1.0f;
|
||||
float sunAltitude = 45.0f;
|
||||
glm::mat4 rotation;
|
||||
|
||||
void drawStars(float angle, float opacity);
|
||||
void drawBackground(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue