Use higher shadow filtering quality settings in 3D demos (#1067)
The 3D demos aren't very demanding and Godot has been optimized a bit since 4.0's release, so we can afford using higher quality shadow settings for less noisy shadow filtering. This also tweaks shadow bias to reduce shadow acne in the Voxel demo. The time slider in the Physical Light and Camera units demo now allows for more precise adjustments.
This commit is contained in:
parent
fad6cc2e1b
commit
785e3213d5
|
@ -28,5 +28,6 @@ window/stretch/aspect="expand"
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
textures/decals/filter=4
|
||||
|
|
|
@ -35,5 +35,6 @@ place_decal={
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
textures/decals/filter=5
|
||||
|
|
|
@ -80,5 +80,7 @@ toggle_mouse_capture={
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
|
||||
anti_aliasing/quality/screen_space_aa=1
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
|
|
|
@ -91,6 +91,7 @@ transform = Transform3D(0.889832, -0.251497, 0.380722, 0, 0.834387, 0.551179, -0
|
|||
shadow_enabled = true
|
||||
shadow_bias = 0.04
|
||||
shadow_blur = 2.0
|
||||
directional_shadow_blend_splits = true
|
||||
directional_shadow_fade_start = 1.0
|
||||
directional_shadow_max_distance = 75.0
|
||||
|
||||
|
|
|
@ -87,5 +87,6 @@ common/physics_ticks_per_second=120
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
|
|
|
@ -33,4 +33,5 @@ theme/default_font_generate_mipmaps=true
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
|
|
|
@ -39,6 +39,7 @@ multithread/thread_rid_pool_prealloc=60
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
|
|
|
@ -30,4 +30,5 @@ common/physics_ticks_per_second=120
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
|
|
|
@ -91,6 +91,7 @@ toggle_vsync={
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
occlusion_culling/use_occlusion_culling=true
|
||||
|
|
|
@ -28,4 +28,5 @@ window/stretch/aspect="expand"
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
|
|
|
@ -106,7 +106,6 @@ layout_mode = 2
|
|||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
max_value = 1410.0
|
||||
step = 15.0
|
||||
value = 840.0
|
||||
|
||||
[node name="Value" type="Label" parent="Options/Light/TimeOfDay"]
|
||||
|
|
|
@ -28,6 +28,7 @@ window/stretch/aspect="expand"
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
environment/defaults/default_clear_color=Color(0.301961, 0.301961, 0.301961, 1)
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
|
|
|
@ -87,5 +87,6 @@ common/physics_ticks_per_second=120
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
|
|
|
@ -15,10 +15,10 @@ config/description="In this game, your goal is to chase and kick out the creeps!
|
|||
|
||||
This is a finished version of the game featured in the \"Your first 3D game\"
|
||||
tutorial in the official documentation."
|
||||
config/tags=PackedStringArray("3d", "demo", "official")
|
||||
run/main_scene="res://Main.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/icon="res://icon.webp"
|
||||
config/tags=PackedStringArray("3d", "demo", "official")
|
||||
|
||||
[autoload]
|
||||
|
||||
|
@ -83,4 +83,5 @@ common/physics_ticks_per_second=120
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
|
|
|
@ -31,6 +31,7 @@ window/vsync/vsync_mode=0
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
vrs/mode=1
|
||||
vrs/texture="res://vrs_texture.png"
|
||||
|
|
|
@ -93,6 +93,8 @@ decrease_volumetric_fog_quality={
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
|
|
|
@ -132,6 +132,10 @@ vertical_alignment = 1
|
|||
[node name="Options" parent="." instance=ExtResource("3")]
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
grow_horizontal = 1
|
||||
grow_vertical = 1
|
||||
|
||||
[connection signal="pressed" from="Pause/ButtonHolder/MainButtons/Resume" to="." method="_on_Resume_pressed"]
|
||||
[connection signal="pressed" from="Pause/ButtonHolder/MainButtons/Options" to="." method="_on_Options_pressed"]
|
||||
|
|
|
@ -153,5 +153,6 @@ common/physics_ticks_per_second=120
|
|||
[rendering]
|
||||
|
||||
textures/canvas_textures/default_texture_filter=0
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
|
|
|
@ -52,6 +52,6 @@ script = ExtResource("4")
|
|||
[node name="Sun" type="DirectionalLight3D" parent="Environment"]
|
||||
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866026, -0.5, 0.75, -0.433013, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
shadow_bias = 0.04
|
||||
shadow_bias = 0.06
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
|
|
|
@ -130,4 +130,6 @@ transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866026, -0.5, 0.75
|
|||
shadow_enabled = true
|
||||
shadow_bias = 0.04
|
||||
shadow_blur = 1.5
|
||||
directional_shadow_mode = 0
|
||||
directional_shadow_fade_start = 1.0
|
||||
directional_shadow_max_distance = 40.0
|
||||
|
|
|
@ -70,5 +70,6 @@ toggle_mouse_capture={
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
|
|
|
@ -35,8 +35,7 @@ common/physics_ticks_per_second=120
|
|||
[rendering]
|
||||
|
||||
renderer/rendering_method="mobile"
|
||||
lights_and_shadows/directional_shadow/size=2048
|
||||
lights_and_shadows/directional_shadow/size.mobile=1024
|
||||
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
lights_and_shadows/positional_shadow/atlas_size=2048
|
||||
|
|
|
@ -239,7 +239,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 7)
|
|||
|
||||
[node name="GPUParticles3D" type="GPUParticles3D" parent="Move"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, 0)
|
||||
amount = 1000
|
||||
amount = 500
|
||||
lifetime = 3.0
|
||||
fixed_fps = 0
|
||||
interpolate = false
|
||||
|
|
|
@ -45,4 +45,5 @@ toggle_filtering={
|
|||
|
||||
[rendering]
|
||||
|
||||
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
|
||||
textures/default_filters/anisotropic_filtering_level=4
|
||||
|
|
Loading…
Reference in New Issue