Allow any Vector2 value as a 3D rendering scale option #52232
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
More powerful version of #52215. Follow-up to #51870.
This allows for finer control over 3D rendering resolution, including support for anamorphic scaling (different scale factor for the horizontal and vertical axis). Anamorphic scaling can be used to make the visual impact of lowering the rendering scale less noticeable, usually by reducing the widest/talleast axis' rendering scale first.
Supersampling can also be performed by setting a 3D rendering resolution above 1.0, which is useful for offline rendering or for very high-end GPUs.
Testing project (updated for this PR): test_render_scale.zip
Use ZQSD/Space/Shift to move. Use mouse wheel up/down to change the X rendering scale, F2/F1 to change the Y rendering scale. Press X to toggle the experimental dynamic resolution scaling (it targets ~200 FPS with the frametime variables, modify
Label.gd
to change this).