Skip to content

Instantly share code, notes, and snippets.

View nan0m's full-sized avatar

Fabian nan0m

View GitHub Profile
@tool
extends NoiseTexture2D
class_name BakeableNoiseTexture2D
#clickable button to execute the bake (can be exchanged with @tool_button when godot 4.4 is out)
@export var bake: bool = false:
set(value):
bake = false
bake_execute()
## choose bake extension