project.godot 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ; Engine configuration file.
  2. ; It's best edited using the editor UI and not directly,
  3. ; since the parameters that go here are not all obvious.
  4. ;
  5. ; Format:
  6. ; [section] ; section goes between []
  7. ; param=value ; assign values to parameters
  8. config_version=5
  9. [application]
  10. config/name="3D SubViewport Scaling"
  11. config/description="This demo shows how to scale the 3D viewport rendering without affecting 2D
  12. elements such as the HUD. It also demonstrates how to toggle filtering on a
  13. viewport. This technique can be useful in 2D games as well. For instance, it can
  14. be used to have a \"pixel art\" viewport for the main game area and a
  15. non-pixel-art viewport for HUD elements."
  16. config/tags=PackedStringArray("3d", "demo", "official", "rendering")
  17. run/main_scene="res://hud.tscn"
  18. config/features=PackedStringArray("4.3")
  19. config/icon="res://icon.webp"
  20. [display]
  21. window/stretch/mode="canvas_items"
  22. window/stretch/aspect="expand"
  23. [input]
  24. cycle_viewport_resolution={
  25. "deadzone": 0.5,
  26. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
  27. ]
  28. }
  29. toggle_filtering={
  30. "deadzone": 0.5,
  31. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194309,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
  32. ]
  33. }
  34. [rendering]
  35. textures/default_filters/anisotropic_filtering_level=4