mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
fix
This commit is contained in:
parent
a6c4e9e22e
commit
86096553ce
3 changed files with 15 additions and 4 deletions
|
|
@ -329,7 +329,7 @@ void CloudsRenderer::draw(
|
|||
|
||||
shader.uniform4f("u_tint", glm::vec4(weather.cloudsTint(), 1.0f));
|
||||
shader.uniform1f("u_fogFactor", fogFactor * 0.03f);
|
||||
shader.uniform1f("u_fogCurve", 0.7f - 0.3f);
|
||||
shader.uniform1f("u_fogCurve", 0.4f);
|
||||
|
||||
for (int i = 0; i < std::min<int>(quality, layers.size()); i++) {
|
||||
draw(layers[i], frustum, shader, camera, timer, i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue