feat: added expression value to every primitive

This commit is contained in:
Sara Gerretsen 2026-01-07 17:23:49 +01:00
parent 63c391593d
commit 2b04362ecc
6 changed files with 121 additions and 48 deletions

View file

@ -95,8 +95,10 @@ func _unhandled_input(event: InputEvent) -> void:
load_path = "res://.godot/imported/point.svg-e68fd7c1e788d2c48d769cc58eba6e98.ctex"
[sub_resource type="PointPrimitive" id="PointPrimitive_5lcyj"]
expression = "sloped_height"
[sub_resource type="PlanePrimitive" id="PlanePrimitive_5lcyj"]
expression = "baseline"
[sub_resource type="FastNoiseLite" id="FastNoiseLite_3vi5u"]
frequency = 0.0336
@ -107,6 +109,7 @@ domain_warp_fractal_lacunarity = 5.512
domain_warp_fractal_gain = 0.662
[sub_resource type="NoisePrimitive" id="NoisePrimitive_5lcyj"]
expression = "previous_height + noise_sample"
noise = SubResource("FastNoiseLite_3vi5u")
[sub_resource type="GDScript" id="GDScript_74j0u"]