feat: added tile texture
This commit is contained in:
parent
a7287d0477
commit
a306956a9f
7 changed files with 121 additions and 4 deletions
BIN
project/assets/environment/textures/tiles_albedo.png
Normal file
BIN
project/assets/environment/textures/tiles_albedo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 392 KiB |
35
project/assets/environment/textures/tiles_albedo.png.import
Normal file
35
project/assets/environment/textures/tiles_albedo.png.import
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mmgby1krvohd"
|
||||
path.s3tc="res://.godot/imported/tiles_albedo.png-ea5727f42d084d373cccbdc65d1ed49d.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/environment/textures/tiles_albedo.png"
|
||||
dest_files=["res://.godot/imported/tiles_albedo.png-ea5727f42d084d373cccbdc65d1ed49d.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
project/assets/environment/textures/tiles_normal.png
Normal file
BIN
project/assets/environment/textures/tiles_normal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
35
project/assets/environment/textures/tiles_normal.png.import
Normal file
35
project/assets/environment/textures/tiles_normal.png.import
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://2cflalgoaq65"
|
||||
path.s3tc="res://.godot/imported/tiles_normal.png-ef4aaf3ba93212ea949c9c79008134f4.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/environment/textures/tiles_normal.png"
|
||||
dest_files=["res://.godot/imported/tiles_normal.png-ef4aaf3ba93212ea949c9c79008134f4.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://assets/environment/textures/tiles_normal.png"
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
project/assets/environment/textures/tiles_rough.exr
Normal file
BIN
project/assets/environment/textures/tiles_rough.exr
Normal file
Binary file not shown.
35
project/assets/environment/textures/tiles_rough.exr.import
Normal file
35
project/assets/environment/textures/tiles_rough.exr.import
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxw8lsrf72t3m"
|
||||
path.bptc="res://.godot/imported/tiles_rough.exr-4b74b62c60f01b25c357f3b5340f220b.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/environment/textures/tiles_rough.exr"
|
||||
dest_files=["res://.godot/imported/tiles_rough.exr-4b74b62c60f01b25c357f3b5340f220b.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://bopapid0k4qkr"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://bopapid0k4qkr"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://csr23278g4hqe" path="res://objects/player_body.tscn" id="1_2venv"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct650octef6l3" path="res://objects/destructable_props/table.tscn" id="2_paw1w"]
|
||||
[ext_resource type="Texture2D" uid="uid://mmgby1krvohd" path="res://assets/environment/textures/tiles_albedo.png" id="2_x4b8f"]
|
||||
[ext_resource type="Texture2D" uid="uid://2cflalgoaq65" path="res://assets/environment/textures/tiles_normal.png" id="3_tmr53"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxw8lsrf72t3m" path="res://assets/environment/textures/tiles_rough.exr" id="4_tmr53"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_2venv"]
|
||||
sky_horizon_color = Color(0.652763, 0.676338, 0.705513, 1)
|
||||
|
|
@ -15,22 +18,30 @@ sky_material = SubResource("ProceduralSkyMaterial_2venv")
|
|||
background_mode = 2
|
||||
sky = SubResource("Sky_paw1w")
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(0.2262, 0.26442, 0.39, 1)
|
||||
ambient_light_color = Color(0.4047, 0.44327, 0.57, 1)
|
||||
tonemap_mode = 2
|
||||
ssao_enabled = true
|
||||
glow_enabled = true
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qcd3b"]
|
||||
albedo_texture = ExtResource("2_x4b8f")
|
||||
roughness_texture = ExtResource("4_tmr53")
|
||||
normal_enabled = true
|
||||
normal_texture = ExtResource("3_tmr53")
|
||||
uv1_scale = Vector3(0.5, 0.5, 0.5)
|
||||
uv1_triplanar = true
|
||||
|
||||
[node name="TestLevel" type="Node3D"]
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.751563, 0.571283, -0.32983, 0, 0.5, 0.866025, 0.659661, -0.650873, 0.375782, 0, 1.79769, 0)
|
||||
transform = Transform3D(-0.480286, 0.759602, -0.438557, 1.14428e-08, 0.5, 0.866025, 0.877112, 0.415939, -0.240142, 0, 1.79769, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_j6w7d")
|
||||
|
||||
[node name="Camera3D" type="PlayerCamera" parent="."]
|
||||
transform = Transform3D(0.62034, -0.124021, 0.774465, -2.98023e-08, 0.987419, 0.158124, -0.784333, -0.0980901, 0.612536, 6.74216, 2.29643, 6.81727)
|
||||
transform = Transform3D(0.62034, -0.103054, 0.777533, 0, 0.99133, 0.131392, -0.784333, -0.081507, 0.614962, 6.62549, 3.07452, 6.725)
|
||||
|
||||
[node name="PlayerBody" parent="." instance=ExtResource("1_2venv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.3668, -0.000488758, 2.05704)
|
||||
|
|
@ -42,6 +53,7 @@ use_collision = true
|
|||
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0863037, 0)
|
||||
size = Vector3(49.2646, 0.171631, 34.6709)
|
||||
material = SubResource("StandardMaterial3D_qcd3b")
|
||||
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -6.79491, 0.863281, -4.90401)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue