Donut.tscn 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://scripts/Donut.gd" type="Script" id=1]
  3. [ext_resource path="res://exported_models/donut_dough.obj" type="ArrayMesh" id=2]
  4. [ext_resource path="res://exported_models/donut_icing.obj" type="ArrayMesh" id=3]
  5. [sub_resource type="SpatialMaterial" id=1]
  6. albedo_color = Color( 0.498039, 0.392157, 0.196078, 1 )
  7. [sub_resource type="SpatialMaterial" id=2]
  8. albedo_color = Color( 0, 0, 0, 1 )
  9. emission_enabled = true
  10. emission = Color( 0.529412, 0.27451, 0.701961, 1 )
  11. emission_energy = 2.47
  12. emission_operator = 0
  13. emission_on_uv2 = false
  14. [node name="Donut" type="Spatial"]
  15. script = ExtResource( 1 )
  16. [node name="Spatial" type="Spatial" parent="."]
  17. transform = Transform( 0.1, 0, 0, 0, -4.37114e-09, 0.1, 0, -0.1, -4.37114e-09, -0.05, -1.35, 1.15 )
  18. [node name="MeshInstance" type="MeshInstance" parent="Spatial"]
  19. mesh = ExtResource( 2 )
  20. material/0 = SubResource( 1 )
  21. [node name="MeshInstance2" type="MeshInstance" parent="Spatial"]
  22. mesh = ExtResource( 3 )
  23. material/0 = SubResource( 2 )