A better test environment
This commit is contained in:
103
test_world.tscn
103
test_world.tscn
@ -1,22 +1,9 @@
|
|||||||
[gd_scene load_steps=9 format=3 uid="uid://cs4drhmc1bql5"]
|
[gd_scene load_steps=15 format=3 uid="uid://cs4drhmc1bql5"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cc1m2a1obsyn4" path="res://addons/fpc/character.tscn" id="1_e18vq"]
|
[ext_resource type="PackedScene" uid="uid://cc1m2a1obsyn4" path="res://addons/fpc/character.tscn" id="1_e18vq"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://pe7a4weirj2g" path="res://textures/dark.png" id="2_08fdt"]
|
||||||
[sub_resource type="Gradient" id="Gradient_ur0vy"]
|
[ext_resource type="Texture2D" uid="uid://cxjxvqmf4boxq" path="res://textures/green.png" id="3_q4clv"]
|
||||||
colors = PackedColorArray(0, 0.476245, 0.0193456, 1, 0.360494, 0.612721, 0.119744, 1)
|
[ext_resource type="Texture2D" uid="uid://dsv4jm4vydflb" path="res://textures/orange.png" id="4_1ns5t"]
|
||||||
|
|
||||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_jd3pw"]
|
|
||||||
frequency = 0.005
|
|
||||||
|
|
||||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7akuf"]
|
|
||||||
width = 1024
|
|
||||||
height = 1024
|
|
||||||
in_3d_space = true
|
|
||||||
color_ramp = SubResource("Gradient_ur0vy")
|
|
||||||
noise = SubResource("FastNoiseLite_jd3pw")
|
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_67ysu"]
|
|
||||||
albedo_texture = SubResource("NoiseTexture2D_7akuf")
|
|
||||||
|
|
||||||
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_edcox"]
|
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_edcox"]
|
||||||
ground_color = Color(0.160784, 0.815686, 0.905882, 1)
|
ground_color = Color(0.160784, 0.815686, 0.905882, 1)
|
||||||
@ -30,15 +17,53 @@ sky = SubResource("Sky_2iust")
|
|||||||
tonemap_mode = 1
|
tonemap_mode = 1
|
||||||
ssao_enabled = true
|
ssao_enabled = true
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_ur0vy"]
|
||||||
|
colors = PackedColorArray(0, 0.476245, 0.0193456, 1, 0.360494, 0.612721, 0.119744, 1)
|
||||||
|
|
||||||
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_jd3pw"]
|
||||||
|
frequency = 0.0027
|
||||||
|
|
||||||
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7akuf"]
|
||||||
|
width = 1024
|
||||||
|
height = 1024
|
||||||
|
in_3d_space = true
|
||||||
|
seamless = true
|
||||||
|
color_ramp = SubResource("Gradient_ur0vy")
|
||||||
|
noise = SubResource("FastNoiseLite_jd3pw")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_67ysu"]
|
||||||
|
albedo_texture = SubResource("NoiseTexture2D_7akuf")
|
||||||
|
uv1_scale = Vector3(0.1, 0.1, 0.1)
|
||||||
|
uv1_triplanar = true
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gomnb"]
|
||||||
|
albedo_texture = ExtResource("2_08fdt")
|
||||||
|
metallic = 0.81
|
||||||
|
metallic_specular = 0.2
|
||||||
|
roughness = 0.5
|
||||||
|
uv1_triplanar = true
|
||||||
|
uv1_triplanar_sharpness = 0.000850145
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u0sbk"]
|
||||||
|
albedo_texture = ExtResource("3_q4clv")
|
||||||
|
metallic = 0.81
|
||||||
|
metallic_specular = 0.2
|
||||||
|
roughness = 0.5
|
||||||
|
uv1_triplanar = true
|
||||||
|
uv1_triplanar_sharpness = 0.000850145
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7j4uu"]
|
||||||
|
albedo_texture = ExtResource("4_1ns5t")
|
||||||
|
metallic = 0.81
|
||||||
|
metallic_specular = 0.2
|
||||||
|
roughness = 0.5
|
||||||
|
uv1_triplanar = true
|
||||||
|
uv1_triplanar_sharpness = 0.000850145
|
||||||
|
|
||||||
[node name="test_world" type="Node3D"]
|
[node name="test_world" type="Node3D"]
|
||||||
|
|
||||||
[node name="Character" parent="." instance=ExtResource("1_e18vq")]
|
[node name="Character" parent="." instance=ExtResource("1_e18vq")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||||
[node name="CSGBox3D" type="CSGBox3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
|
||||||
use_collision = true
|
|
||||||
size = Vector3(10, 1, 10)
|
|
||||||
material = SubResource("StandardMaterial3D_67ysu")
|
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = SubResource("Environment_20rw3")
|
environment = SubResource("Environment_20rw3")
|
||||||
@ -47,3 +72,35 @@ environment = SubResource("Environment_20rw3")
|
|||||||
transform = Transform3D(0.87959, -0.436605, 0.188936, 0, 0.397148, 0.917755, -0.475732, -0.807248, 0.349328, 0, 0, 0)
|
transform = Transform3D(0.87959, -0.436605, 0.188936, 0, 0.397148, 0.917755, -0.475732, -0.807248, 0.349328, 0, 0, 0)
|
||||||
light_energy = 2.0
|
light_energy = 2.0
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="terrain" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="CSGBox3D" type="CSGBox3D" parent="terrain"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -0.5, 10)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(30, 1, 30)
|
||||||
|
material = SubResource("StandardMaterial3D_67ysu")
|
||||||
|
|
||||||
|
[node name="CSGBox3D2" type="CSGBox3D" parent="terrain"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, -10)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(10, 1, 10)
|
||||||
|
material = SubResource("StandardMaterial3D_gomnb")
|
||||||
|
|
||||||
|
[node name="CSGBox3D3" type="CSGBox3D" parent="terrain"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 1.8, -13)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(4, 0.5, 4)
|
||||||
|
material = SubResource("StandardMaterial3D_gomnb")
|
||||||
|
|
||||||
|
[node name="CSGBox3D4" type="CSGBox3D" parent="terrain"]
|
||||||
|
transform = Transform3D(0.939693, 0.34202, 0, -0.34202, 0.939693, 0, 0, 0, 1, -9.5, 1.2, -10)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(10, 1, 10)
|
||||||
|
material = SubResource("StandardMaterial3D_u0sbk")
|
||||||
|
|
||||||
|
[node name="CSGBox3D5" type="CSGBox3D" parent="terrain"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 3, -15.5)
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(19, 8, 1)
|
||||||
|
material = SubResource("StandardMaterial3D_7j4uu")
|
||||||
|
BIN
textures/dark.png
Normal file
BIN
textures/dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
35
textures/dark.png.import
Normal file
35
textures/dark.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://pe7a4weirj2g"
|
||||||
|
path.s3tc="res://.godot/imported/dark.png-6d46f668c80e231a58e570df85aad257.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/dark.png"
|
||||||
|
dest_files=["res://.godot/imported/dark.png-6d46f668c80e231a58e570df85aad257.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
textures/green.png
Normal file
BIN
textures/green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
35
textures/green.png.import
Normal file
35
textures/green.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cxjxvqmf4boxq"
|
||||||
|
path.s3tc="res://.godot/imported/green.png-b4f8ddc6b00d4e627f0e027e2e1193bf.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/green.png"
|
||||||
|
dest_files=["res://.godot/imported/green.png-b4f8ddc6b00d4e627f0e027e2e1193bf.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
textures/orange.png
Normal file
BIN
textures/orange.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
35
textures/orange.png.import
Normal file
35
textures/orange.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dsv4jm4vydflb"
|
||||||
|
path.s3tc="res://.godot/imported/orange.png-6785d3f8216fd22318e8ea839823715b.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/orange.png"
|
||||||
|
dest_files=["res://.godot/imported/orange.png-6785d3f8216fd22318e8ea839823715b.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
textures/purple.png
Normal file
BIN
textures/purple.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
34
textures/purple.png.import
Normal file
34
textures/purple.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cl4kewig3pk7s"
|
||||||
|
path="res://.godot/imported/purple.png-23488e84f4f0a47488be2c78494f2155.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/purple.png"
|
||||||
|
dest_files=["res://.godot/imported/purple.png-23488e84f4f0a47488be2c78494f2155.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
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=1
|
BIN
textures/red.png
Normal file
BIN
textures/red.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
34
textures/red.png.import
Normal file
34
textures/red.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d1h161t0v6hau"
|
||||||
|
path="res://.godot/imported/red.png-3cad0ca19141406d60f5fd2311159a86.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/red.png"
|
||||||
|
dest_files=["res://.godot/imported/red.png-3cad0ca19141406d60f5fd2311159a86.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
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=1
|
Reference in New Issue
Block a user