mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-23 02:49:46 +00:00
test
This commit is contained in:
parent
2f87bbf608
commit
c0c60430d6
4 changed files with 5 additions and 5 deletions
|
|
@ -34,7 +34,7 @@ float calc_shadow(
|
|||
}
|
||||
shadow /= 9.0;
|
||||
|
||||
shadow *= max(0.0, -dot(realnormal, u_sunDir));
|
||||
shadow *= max(0.0, sqrt(-dot(realnormal, u_sunDir)));
|
||||
return shadow;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue