Skip to content

Commit

Permalink
Fixed GUI loading fog texture
Browse files Browse the repository at this point in the history
  • Loading branch information
SIsilicon authored Apr 11, 2020
1 parent a5da3c7 commit 600f200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/gui.gd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func _on_value_changed(value, control : String) -> void:
"VolumetricShadows":
volume_fog.volumetric_shadows = value
"TexturedFog":
$"../VolumeProxy".material.scatter_texture = preload("res://test_volume.png") if value else null
$"../VolumeProxy".material.scatter_texture = preload("test_volume.png") if value else null
$"../VolumeProxy".material.density = 0.15 if value else 0.06
"HeightFog":
$"../VolumeProxy2".visible = value
Expand Down

0 comments on commit 600f200

Please sign in to comment.