Add dynamic shadows and ssao to improve table looks

This commit is contained in:
Jens Pitkänen 2024-08-20 19:17:48 +03:00
parent 2671f01a72
commit fd65fd5ec1
12 changed files with 16 additions and 2 deletions

View File

@ -6,3 +6,4 @@
albedo_texture = ExtResource("1_adacw") albedo_texture = ExtResource("1_adacw")
metallic_specular = 0.0 metallic_specular = 0.0
texture_filter = 2 texture_filter = 2
disable_receive_shadows = true

View File

@ -6,3 +6,4 @@
albedo_texture = ExtResource("1_u5p53") albedo_texture = ExtResource("1_u5p53")
metallic_specular = 0.0 metallic_specular = 0.0
texture_filter = 2 texture_filter = 2
disable_receive_shadows = true

View File

@ -14,3 +14,4 @@ normal_texture = ExtResource("3_d1hb3")
ao_enabled = true ao_enabled = true
ao_texture = ExtResource("2_lytc3") ao_texture = ExtResource("2_lytc3")
texture_filter = 2 texture_filter = 2
disable_receive_shadows = true

View File

@ -6,3 +6,4 @@
albedo_texture = ExtResource("1_hsryr") albedo_texture = ExtResource("1_hsryr")
metallic_specular = 0.0 metallic_specular = 0.0
texture_filter = 2 texture_filter = 2
disable_receive_shadows = true

View File

@ -14,3 +14,4 @@ normal_texture = ExtResource("4_db6g0")
ao_enabled = true ao_enabled = true
ao_texture = ExtResource("2_3732n") ao_texture = ExtResource("2_3732n")
texture_filter = 5 texture_filter = 5
disable_receive_shadows = true

View File

@ -1,7 +1,7 @@
[gd_resource type="StandardMaterial3D" load_steps=5 format=3 uid="uid://cobb5bm4y7nk7"] [gd_resource type="StandardMaterial3D" load_steps=5 format=3 uid="uid://cobb5bm4y7nk7"]
[ext_resource type="Texture2D" uid="uid://tlaksepmx4fm" path="res://materials/steel/steel_albedo.jpg" id="1_y0jhp"] [ext_resource type="Texture2D" uid="uid://tlaksepmx4fm" path="res://materials/steel/steel_albedo.jpg" id="1_y0jhp"]
[ext_resource type="Texture2D" uid="uid://tx3pf0iblqgo" path="res://materials/steel/steel_metallic.jpg" id="3_hddmm"] [ext_resource type="Texture2D" uid="uid://tx3pf0iblqgo" path="res://materials/steel_fence/steel_fence_metallic.jpg" id="3_hddmm"]
[ext_resource type="Texture2D" uid="uid://b76hh5upcpvrm" path="res://materials/steel_fence/steel_fence_normal.jpg" id="4_v1udo"] [ext_resource type="Texture2D" uid="uid://b76hh5upcpvrm" path="res://materials/steel_fence/steel_fence_normal.jpg" id="4_v1udo"]
[ext_resource type="Texture2D" uid="uid://bdqwdrblis6aw" path="res://materials/steel_fence/steel_fence_roughness.jpg" id="5_1ofxx"] [ext_resource type="Texture2D" uid="uid://bdqwdrblis6aw" path="res://materials/steel_fence/steel_fence_roughness.jpg" id="5_1ofxx"]
@ -13,3 +13,4 @@ roughness_texture = ExtResource("5_1ofxx")
normal_enabled = true normal_enabled = true
normal_texture = ExtResource("4_v1udo") normal_texture = ExtResource("4_v1udo")
texture_filter = 2 texture_filter = 2
disable_receive_shadows = true

View File

@ -1,7 +1,7 @@
[gd_resource type="StandardMaterial3D" load_steps=5 format=3 uid="uid://dgf570wtqn17j"] [gd_resource type="StandardMaterial3D" load_steps=5 format=3 uid="uid://dgf570wtqn17j"]
[ext_resource type="Texture2D" uid="uid://b4reodnhta7sr" path="res://materials/steel_fence/steel_fence_albedo.png" id="1_lupfc"] [ext_resource type="Texture2D" uid="uid://b4reodnhta7sr" path="res://materials/steel_fence/steel_fence_albedo.png" id="1_lupfc"]
[ext_resource type="Texture2D" uid="uid://tx3pf0iblqgo" path="res://materials/steel/steel_metallic.jpg" id="3_rree2"] [ext_resource type="Texture2D" uid="uid://tx3pf0iblqgo" path="res://materials/steel_fence/steel_fence_metallic.jpg" id="3_rree2"]
[ext_resource type="Texture2D" uid="uid://b76hh5upcpvrm" path="res://materials/steel_fence/steel_fence_normal.jpg" id="4_6o2u3"] [ext_resource type="Texture2D" uid="uid://b76hh5upcpvrm" path="res://materials/steel_fence/steel_fence_normal.jpg" id="4_6o2u3"]
[ext_resource type="Texture2D" uid="uid://bdqwdrblis6aw" path="res://materials/steel_fence/steel_fence_roughness.jpg" id="5_7avjb"] [ext_resource type="Texture2D" uid="uid://bdqwdrblis6aw" path="res://materials/steel_fence/steel_fence_roughness.jpg" id="5_7avjb"]
@ -14,3 +14,4 @@ roughness_texture = ExtResource("5_7avjb")
normal_enabled = true normal_enabled = true
normal_texture = ExtResource("4_6o2u3") normal_texture = ExtResource("4_6o2u3")
texture_filter = 5 texture_filter = 5
disable_receive_shadows = true

View File

@ -14,3 +14,4 @@ normal_texture = ExtResource("4_r7yms")
ao_enabled = true ao_enabled = true
ao_texture = ExtResource("2_byjax") ao_texture = ExtResource("2_byjax")
texture_filter = 5 texture_filter = 5
disable_receive_shadows = true

View File

@ -14,3 +14,4 @@ normal_texture = ExtResource("4_p2ds3")
ao_enabled = true ao_enabled = true
ao_texture = ExtResource("2_nln00") ao_texture = ExtResource("2_nln00")
texture_filter = 5 texture_filter = 5
disable_receive_shadows = true

View File

@ -7,3 +7,4 @@ albedo_texture = ExtResource("1_4040b")
metallic_specular = 0.36 metallic_specular = 0.36
roughness = 0.63 roughness = 0.63
texture_filter = 2 texture_filter = 2
disable_receive_shadows = true

View File

@ -14,3 +14,4 @@ normal_texture = ExtResource("4_pmu04")
ao_enabled = true ao_enabled = true
ao_texture = ExtResource("2_x5ntf") ao_texture = ExtResource("2_x5ntf")
texture_filter = 5 texture_filter = 5
disable_receive_shadows = true

View File

@ -15,6 +15,8 @@ sky_material = SubResource("ProceduralSkyMaterial_2n8bf")
background_mode = 2 background_mode = 2
sky = SubResource("Sky_jvem5") sky = SubResource("Sky_jvem5")
tonemap_mode = 2 tonemap_mode = 2
ssao_enabled = true
ssao_radius = 0.05
[node name="HazyEnv" type="Node3D"] [node name="HazyEnv" type="Node3D"]
@ -22,6 +24,7 @@ tonemap_mode = 2
transform = Transform3D(0.914416, 0.167281, -0.368593, 0.265225, 0.44028, 0.857793, 0.305777, -0.88214, 0.358232, 0, 2, 0) transform = Transform3D(0.914416, 0.167281, -0.368593, 0.265225, 0.44028, 0.857793, 0.305777, -0.88214, 0.358232, 0, 2, 0)
light_angular_distance = 0.5 light_angular_distance = 0.5
light_bake_mode = 1 light_bake_mode = 1
shadow_enabled = true
[node name="Env" type="WorldEnvironment" parent="."] [node name="Env" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_exkg8") environment = SubResource("Environment_exkg8")