Godot4ShadersPlayground/main.tscn

39 lines
1.4 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://domnt68rssk3o"]
[ext_resource type="Shader" uid="uid://dotlcmfer5kxw" path="res://Test.tres" id="1_l2uej"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ei6qd"]
render_priority = 0
shader = ExtResource("1_l2uej")
shader_parameter/Mix = 1.0
shader_parameter/Scale = 0.1
[sub_resource type="BoxMesh" id="BoxMesh_xmok6"]
material = SubResource("ShaderMaterial_ei6qd")
subdivide_width = 100
subdivide_height = 100
subdivide_depth = 100
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ob31l"]
[sub_resource type="BoxMesh" id="BoxMesh_ch7qc"]
material = SubResource("StandardMaterial3D_ob31l")
[sub_resource type="SphereMesh" id="SphereMesh_b1xo6"]
[node name="Node3d" type="Node3D"]
[node name="MeshInstance3d" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_xmok6")
[node name="DirectionalLight3d" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.999797, 0.0157707, -0.0125257, 0, 0.621941, 0.783064, 0.0201397, -0.782905, 0.621815, 0, 8.5855, 14.3557)
[node name="MeshInstance3d2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.08947)
mesh = SubResource("BoxMesh_ch7qc")
[node name="MeshInstance3d3" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.86506)
mesh = SubResource("SphereMesh_b1xo6")