Add subtle grey volumetric fog to the room

This commit is contained in:
JariKo
2026-10-28 15:52:02 +02:00
parent db7df85aef
commit 14c1e0934e
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ static func neighbour_x(gx):return gx*22.0+(NEIGHBOUR_SHIFT if gx>0 else 0.0)
func setup(game):
g=game
smog=FogVolume.new();smog.name="LightHellSmog";smog.shape=RenderingServer.FOG_VOLUME_SHAPE_BOX;g.add_child(smog)
var fog=FogMaterial.new();fog.density=.010;fog.albedo=Color("a09683");fog.height_falloff=.22;fog.edge_fade=.2;smog.material=fog
var fog=FogMaterial.new();fog.density=.018;fog.albedo=Color("989d99");fog.height_falloff=.35;fog.edge_fade=.3;smog.material=fog
for node in g.get_children():
if node.has_meta("right_wall_dressing"):wall_dressing.append(node)
set_level(0)