Skip to content

Commit

Permalink
Add skybox to scene, improve camera
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveplays28 committed May 30, 2022
1 parent 85e00c8 commit 10d0a8b
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 19 deletions.
11 changes: 5 additions & 6 deletions main_environment.tres
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[gd_resource type="Environment" load_steps=2 format=2]
[gd_resource type="Environment" load_steps=3 format=2]

[sub_resource type="ProceduralSky" id=1]
sky_top_color = Color( 0.211765, 0.313726, 0.552941, 1 )
sky_horizon_color = Color( 0.545098, 0.686275, 0.811765, 1 )
sky_curve = 0.13
sun_latitude = 45.0
[ext_resource path="res://resources/skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=1]

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

[resource]
resource_local_to_scene = true
Expand Down
93 changes: 80 additions & 13 deletions prefabs/cctv_camera1.tscn

Large diffs are not rendered by default.

Binary file added resources/models/cctv_camera1/Camera.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions resources/models/cctv_camera1/Camera.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Camera.png-c5a6f69d4c6b5a992c95a5ea97eea8a5.s3tc.stex"
path.etc2="res://.import/Camera.png-c5a6f69d4c6b5a992c95a5ea97eea8a5.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}

[deps]

source_file="res://resources/models/cctv_camera1/Camera.png"
dest_files=[ "res://.import/Camera.png-c5a6f69d4c6b5a992c95a5ea97eea8a5.s3tc.stex", "res://.import/Camera.png-c5a6f69d4c6b5a992c95a5ea97eea8a5.etc2.stex" ]

[params]

compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

0 comments on commit 10d0a8b

Please sign in to comment.