Godot4ShadersPlayground/SoapBubble.tscn

70 lines
2.6 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://dfuaaaimxo810"]
[ext_resource type="PackedScene" uid="uid://sft6mp442uxe" path="res://models/icosphere.glb" id="1_dqpwr"]
[ext_resource type="Material" uid="uid://ccjdj6yfj5gfg" path="res://materials/soap.tres" id="2_em4sg"]
[ext_resource type="Texture2D" uid="uid://s3urfbs8wl8d" path="res://textures/AllSkyFree_Sky_EpicBlueSunset_Equirect.png" id="3_jmgiy"]
[ext_resource type="Script" path="res://FreeLookCamera.gd" id="4_at5xm"]
[ext_resource type="PackedScene" uid="uid://b0ht1ye2dpq51" path="res://models/weird_bubble.blend" id="5_u12t1"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_su7nb"]
panorama = ExtResource("3_jmgiy")
[sub_resource type="Sky" id="Sky_gjovo"]
sky_material = SubResource("PanoramaSkyMaterial_su7nb")
radiance_size = 6
[sub_resource type="Environment" id="Environment_mjq32"]
background_mode = 2
sky = SubResource("Sky_gjovo")
ambient_light_source = 3
reflected_light_source = 2
tonemap_mode = 3
tonemap_exposure = 0.5
sdfgi_enabled = true
sdfgi_use_occlusion = true
glow_enabled = true
[sub_resource type="SphereShape3D" id="SphereShape3D_f3t7v"]
radius = 0.2
[sub_resource type="SphereMesh" id="SphereMesh_wf6pm"]
[node name="SoapBubble" type="Node3D"]
[node name="icosphere2" parent="." instance=ExtResource("1_dqpwr")]
[node name="Icosphere" parent="icosphere2" index="0"]
material_override = ExtResource("2_em4sg")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 10, 0)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_mjq32")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-0.777113, 0, -0.629361, 0, 1, 0, 0.629361, 0, -0.777113, 0, -0.556943, 1.45498)
script = ExtResource("4_at5xm")
[node name="RigidBody3D" type="RigidBody3D" parent="Camera3D"]
freeze = true
freeze_mode = 1
[node name="CollisionShape3D" type="CollisionShape3D" parent="Camera3D/RigidBody3D"]
shape = SubResource("SphereShape3D_f3t7v")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.89841)
visible = false
material_override = ExtResource("2_em4sg")
mesh = SubResource("SphereMesh_wf6pm")
[node name="weird_bubble" parent="." instance=ExtResource("5_u12t1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6.19148)
[node name="Mball004" parent="weird_bubble" index="0"]
material_override = ExtResource("2_em4sg")
[editable path="icosphere2"]
[editable path="weird_bubble"]