mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-23 10:59:45 +00:00
test
This commit is contained in:
parent
2f87bbf608
commit
c0c60430d6
4 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <constants>
|
||||
|
||||
vec3 pick_sky_color(samplerCube cubemap, float dayTime, vec3 minSkyLight) {
|
||||
float elevation = sin(dayTime * PI2) * 0.2;
|
||||
float elevation = -sin(dayTime * PI2) * 0.1;
|
||||
vec3 skyLightColor = texture(cubemap, vec3(0.0f, elevation, -0.4f)).rgb;
|
||||
skyLightColor *= SKY_LIGHT_TINT;
|
||||
skyLightColor = min(vec3(1.0f), skyLightColor * SKY_LIGHT_MUL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue