mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
Test garbage removed
This commit is contained in:
parent
74af65f320
commit
bf13c517ab
1 changed files with 0 additions and 3 deletions
|
|
@ -257,9 +257,6 @@ void main() {
|
||||||
|
|
||||||
float fog = 1.0f / (u_fog*0.5 + 1.0);
|
float fog = 1.0f / (u_fog*0.5 + 1.0);
|
||||||
// hide darkness at horizon
|
// hide darkness at horizon
|
||||||
if (camera_vector.y < 0.0f) {
|
|
||||||
camera_vector.y *= 120.0f;
|
|
||||||
}
|
|
||||||
camera_vector.y = max(0.01, camera_vector.y)*(1.0-u_mie*0.08) + 0.08*u_mie;
|
camera_vector.y = max(0.01, camera_vector.y)*(1.0-u_mie*0.08) + 0.08*u_mie;
|
||||||
//camera_vector = normalize(camera_vector);
|
//camera_vector = normalize(camera_vector);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue