Add sky HDRI

This commit is contained in:
Aidan Mullen 2024-05-06 18:51:34 -04:00
parent 568652f0a7
commit ece54f1019
4 changed files with 37 additions and 2 deletions

View file

@ -1,3 +1,18 @@
[gd_scene format=3 uid="uid://cg5vtf37cafsd"]
[gd_scene load_steps=5 format=3 uid="uid://cg5vtf37cafsd"]
[ext_resource type="Texture2D" uid="uid://tpwobjqbudqn" path="res://img/sky.hdr" id="1_cqrla"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_owhq0"]
panorama = ExtResource("1_cqrla")
[sub_resource type="Sky" id="Sky_70g61"]
sky_material = SubResource("PanoramaSkyMaterial_owhq0")
[sub_resource type="Environment" id="Environment_yt03y"]
background_mode = 2
sky = SubResource("Sky_70g61")
[node name="Node3D" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_yt03y")