Skip to content

Commit

Permalink
Added proper skybox to game
Browse files Browse the repository at this point in the history
  • Loading branch information
telmotrooper committed Jun 23, 2021
1 parent 6fb58a2 commit a5337d3
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 2 deletions.
1 change: 1 addition & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Assets

* Model [Godot Logo](https://sketchfab.com/3d-models/godot-logo-5283bab731e74d3babad747a17622715) by [soundsbeard](https://sketchfab.com/soundsbeard)
* Skyboxes [4K Sky Series HDRi free Texture](https://www.cgtrader.com/free-3d-models/textures/natural/hdri-freebie-series) by [avianx](https://www.cgtrader.com/avianx)
8 changes: 6 additions & 2 deletions my-3d-squash-the-creeps/default_env.tres
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[gd_resource type="Environment" load_steps=2 format=2]
[gd_resource type="Environment" load_steps=3 format=2]

[sub_resource type="ProceduralSky" id=1]
[ext_resource path="res://skyboxes/CasualDay4K.hdr" type="Texture" id=1]

[sub_resource type="PanoramaSky" id=1]
panorama = ExtResource( 1 )

[resource]
background_mode = 2
background_sky = SubResource( 1 )
background_sky_orientation = Basis( -0.939693, 0, -0.34202, 0, 1, 0, 0.34202, 0, -0.939693 )
ambient_light_color = Color( 0.494118, 0.47451, 0.47451, 1 )
Binary file added my-3d-squash-the-creeps/skyboxes/CasualDay4K.hdr
Binary file not shown.
34 changes: 34 additions & 0 deletions my-3d-squash-the-creeps/skyboxes/CasualDay4K.hdr.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/CasualDay4K.hdr-0d0c20c618d62327e34ac0346daaec4e.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://skyboxes/CasualDay4K.hdr"
dest_files=[ "res://.import/CasualDay4K.hdr-0d0c20c618d62327e34ac0346daaec4e.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5337d3

Please sign in to comment.