Lower floor fog and reduce its density by another 15 percent

This commit is contained in:
JariKo
2026-10-28 16:02:49 +02:00
parent 9bb624f445
commit fc3ebd1837
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func run(g):
var angle=s.visual.rotation.y
w.sentences.follow_carrier(s,Vector3(2,0,2),Vector3.RIGHT,.02)
check(absf(angle_difference(s.visual.rotation.y,angle))>.001 and absf(angle_difference(s.visual.rotation.y,angle))<.25,"turn toward carrier is gradual")
check(is_equal_approx(g.architecture.growth.smog.material.get_shader_parameter("surface_height"),.78),"dense floor fog stays at knee height")
check(is_equal_approx(g.architecture.growth.smog.material.get_shader_parameter("surface_height"),.45),"low fog hugs the floor below the knees")
w.attach(s,0);var effect=d.transfer
# A dissolved snapshot must hide even zero-valued dither pixels.
w.step_station(d,.22,false);check(not effect.snapshot.visible,"dissolved source hidden")