extends Node
## Screenshot helper for the VisL1 before / after shots (--visnohud, added by vis_l1.gd shot_helpers()):
## every frame, hides the HUD / UI canvas layers (layer >= 0) so the comparison shows the 3D view + post grade only.
## Shot runs only - never active in normal play.


func _process(_d: float) -> void:
	for c in get_tree().root.find_children("*", "CanvasLayer", true, false):
		var cl := c as CanvasLayer
		if cl.layer >= 0 and cl.visible and cl.name != "PostVignette":
			cl.visible = false
