mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
Improve several demos' configuration
- Enable anisotropic filtering in 3D demos, and set the quality to 16× on desktop and 4× on mobile. - Enable 4× MSAA on some 3D demos that didn't use it beforehand. - On GLES3 demos, disable MSAA on mobile as these demos are often more demanding. - Use more conservative framebuffer allocation settings for better performance. - Use PCF13 shadow filtering in GLES2 demos on desktop to benefit from soft shadows in Godot 3.2.4 and later. In Godot 3.2.3, this will make shadows smoother but still "blocky". - Use Lossless compression instead of VRAM compression for small textures such as the voxel demo texture atlas.
This commit is contained in:
@@ -84,5 +84,8 @@ shadow_filter=3
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/filters/anisotropic_filter_level=16
|
||||
quality/filters/msaa=2
|
||||
environment/default_environment="res://default_env.tres"
|
||||
quality/filters/msaa.mobile=0
|
||||
quality/filters/anisotropic_filter_level.mobile=4
|
||||
|
||||
@@ -24,7 +24,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -24,7 +24,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -39,5 +39,9 @@ multithread/thread_rid_pool_prealloc=60
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/intended_usage/framebuffer_allocation=3
|
||||
vram_compression/import_etc2=false
|
||||
quality/filters/anisotropic_filter_level=16
|
||||
quality/filters/msaa=2
|
||||
quality/filters/msaa.mobile=0
|
||||
quality/filters/anisotropic_filter_level.mobile=4
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -22,7 +22,7 @@ compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -23,7 +23,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -22,7 +22,7 @@ compress/normal_map=1
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -30,4 +30,6 @@ singletons=[ ]
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
quality/intended_usage/framebuffer_allocation=3
|
||||
quality/shadows/filter_mode=2
|
||||
quality/filters/msaa=2
|
||||
|
||||
@@ -142,5 +142,8 @@ multithread/thread_rid_pool_prealloc=60
|
||||
[rendering]
|
||||
|
||||
quality/intended_usage/framebuffer_allocation=3
|
||||
quality/filters/anisotropic_filter_level=16
|
||||
quality/filters/msaa=2
|
||||
environment/default_environment="res://default_env.tres"
|
||||
quality/filters/anisotropic_filter_level.mobile=4
|
||||
quality/filters/msaa.mobile=0
|
||||
|
||||
@@ -22,7 +22,7 @@ compress/normal_map=0
|
||||
flags/repeat=1
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=false
|
||||
process/premult_alpha=true
|
||||
|
||||
@@ -24,7 +24,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=true
|
||||
|
||||
@@ -24,7 +24,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -24,7 +24,7 @@ compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/anisotropic=true
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
|
||||
@@ -77,5 +77,9 @@ shadow_filter=3
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
quality/intended_usage/framebuffer_allocation=3
|
||||
quality/shadows/filter_mode=2
|
||||
quality/filters/anisotropic_filter_level=16
|
||||
quality/filters/msaa=2
|
||||
environment/default_environment="res://default_env.tres"
|
||||
quality/filters/anisotropic_filter_level.mobile=4
|
||||
|
||||
@@ -160,6 +160,8 @@ common/physics_fps=120
|
||||
quality/driver/driver_name="GLES2"
|
||||
vram_compression/import_etc=true
|
||||
vram_compression/import_etc2=false
|
||||
quality/filters/anisotropic_filter_level=16
|
||||
quality/filters/msaa=2
|
||||
environment/default_environment="res://default_env.tres"
|
||||
gles2/debug/disable_half_float=true
|
||||
quality/filters/anisotropic_filter_level.mobile=4
|
||||
|
||||
@@ -2,31 +2,29 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path.s3tc="res://.import/texture_sheet.png-52286655fc64f0acb01bdaefe1f1bd3e.s3tc.stex"
|
||||
path.etc="res://.import/texture_sheet.png-52286655fc64f0acb01bdaefe1f1bd3e.etc.stex"
|
||||
path="res://.import/texture_sheet.png-52286655fc64f0acb01bdaefe1f1bd3e.stex"
|
||||
metadata={
|
||||
"imported_formats": [ "s3tc", "etc" ],
|
||||
"vram_texture": true
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://world/textures/texture_sheet.png"
|
||||
dest_files=[ "res://.import/texture_sheet.png-52286655fc64f0acb01bdaefe1f1bd3e.s3tc.stex", "res://.import/texture_sheet.png-52286655fc64f0acb01bdaefe1f1bd3e.etc.stex" ]
|
||||
dest_files=[ "res://.import/texture_sheet.png-52286655fc64f0acb01bdaefe1f1bd3e.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/mode=0
|
||||
compress/lossy_quality=1.0
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/fix_alpha_border=false
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
|
||||
@@ -19,7 +19,7 @@ modules="org/godotengine/godot/GodotPaymentV3"
|
||||
|
||||
[application]
|
||||
|
||||
config/name="Android in-app purchases"
|
||||
config/name="Android In-App Purchases"
|
||||
run/main_scene="res://main.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
|
||||
@@ -26,5 +26,7 @@ singletons=[ ]
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
quality/intended_usage/framebuffer_allocation=0
|
||||
quality/intended_usage/framebuffer_allocation.mobile=0
|
||||
environment/default_clear_color=Color( 0.113725, 0.133333, 0.196078, 1 )
|
||||
environment/default_environment="res://default_env.tres"
|
||||
|
||||
@@ -89,5 +89,7 @@ move_right_player2={
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
quality/intended_usage/framebuffer_allocation=3
|
||||
quality/shadows/filter_mode=2
|
||||
environment/default_clear_color=Color( 1, 1, 1, 1 )
|
||||
environment/default_environment="res://default_env.tres"
|
||||
|
||||
@@ -189,6 +189,8 @@ __meta__ = {
|
||||
|
||||
[node name="Viewport1" type="Viewport" parent="Cameras"]
|
||||
size = Vector2( 100, 100 )
|
||||
msaa = 2
|
||||
usage = 3
|
||||
render_target_v_flip = true
|
||||
render_target_update_mode = 3
|
||||
|
||||
@@ -198,6 +200,8 @@ current = true
|
||||
|
||||
[node name="Viewport2" type="Viewport" parent="Cameras"]
|
||||
size = Vector2( 100, 100 )
|
||||
msaa = 2
|
||||
usage = 3
|
||||
render_target_v_flip = true
|
||||
render_target_update_mode = 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user