Fix panorama by using an actual cubemap

This commit is contained in:
2026-03-25 12:46:56 -05:00
parent 61da885537
commit 581d0ca495
5 changed files with 5 additions and 5 deletions

BIN
Assets/Raw/skybox.aseprite Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
Assets/skybox-panorama.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -2,8 +2,8 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://yheybkam04iu"
path.s3tc="res://.godot/imported/skybox-evil-prototype.png-505d55416ee2f4b584199d779e5f430c.s3tc.ctex"
uid="uid://fnlm5dao21d8"
path.s3tc="res://.godot/imported/skybox-panorama.png-1018e024adb62a91d26ae7b6f1e9ae52.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
@@ -11,8 +11,8 @@ metadata={
[deps]
source_file="res://Assets/skybox-evil-prototype.png"
dest_files=["res://.godot/imported/skybox-evil-prototype.png-505d55416ee2f4b584199d779e5f430c.s3tc.ctex"]
source_file="res://Assets/skybox-panorama.png"
dest_files=["res://.godot/imported/skybox-panorama.png-1018e024adb62a91d26ae7b6f1e9ae52.s3tc.ctex"]
[params]

View File

@@ -1,7 +1,7 @@
[gd_scene format=3 uid="uid://cy0y28j47h3w"]
[ext_resource type="PackedScene" uid="uid://diipi3w18rk4v" path="res://Player/player_controller.tscn" id="1_fau6w"]
[ext_resource type="Texture2D" uid="uid://yheybkam04iu" path="res://Assets/skybox-evil-prototype.png" id="1_gfyfu"]
[ext_resource type="Texture2D" uid="uid://fnlm5dao21d8" path="res://Assets/skybox-panorama.png" id="1_gfyfu"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_7f328"]
panorama = ExtResource("1_gfyfu")