[gd_scene load_steps=12 format=3 uid="uid://dfttci386ohip"]

[sub_resource type="Gradient" id="Gradient_66vtd"]
offsets = PackedFloat32Array(0, 0.213823)

[sub_resource type="FastNoiseLite" id="FastNoiseLite_p7iuu"]
noise_type = 2
frequency = 0.06

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_wcxf4"]
width = 1024
seamless = true
color_ramp = SubResource("Gradient_66vtd")
noise = SubResource("FastNoiseLite_p7iuu")

[sub_resource type="FastNoiseLite" id="FastNoiseLite_lplu7"]
noise_type = 2
frequency = 0.06
fractal_type = 2
fractal_lacunarity = 1.0
fractal_weighted_strength = 1.0

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rvc1j"]
width = 1024
seamless = true
as_normal_map = true
noise = SubResource("FastNoiseLite_lplu7")

[sub_resource type="FastNoiseLite" id="FastNoiseLite_3hdir"]
noise_type = 2
frequency = 0.06
fractal_type = 2
fractal_lacunarity = 1.0
fractal_weighted_strength = 1.0

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_lb1l7"]
width = 1024
invert = true
seamless = true
noise = SubResource("FastNoiseLite_3hdir")

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bhmcr"]
albedo_texture = SubResource("NoiseTexture2D_wcxf4")
metallic = 0.27
roughness = 0.4
roughness_texture = SubResource("NoiseTexture2D_lb1l7")
normal_enabled = true
normal_texture = SubResource("NoiseTexture2D_rvc1j")
clearcoat_roughness = 0.0

[sub_resource type="SphereMesh" id="SphereMesh_l3o3t"]
material = SubResource("StandardMaterial3D_bhmcr")
radius = 0.05
height = 0.1

[sub_resource type="SphereShape3D" id="SphereShape3D_0hvq6"]
radius = 0.05

[sub_resource type="SeparationRayShape3D" id="SeparationRayShape3D_psmc6"]

[node name="PhysicsBall" type="RigidBody3D"]

[node name="BallMesh" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_l3o3t")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_0hvq6")

[node name="SpringArm3D" type="SpringArm3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.823711, 0.56701, 0, -0.56701, 0.823711, 0, 0, 0)
shape = SubResource("SeparationRayShape3D_psmc6")
spring_length = 2.0

[node name="Camera3D" type="Camera3D" parent="SpringArm3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2)
