yquake2remaster/doc
Ricardo Garcia 930872b358 Add resolution scaling to Vulkan renderer
This commit adds a new cvar called vk_pixel_size that represents how big
pixels should look in the rendered world in order to simulate lower
screen resolutions. With its default value of 1 everything looks normal,
but with bigger sizes (e.g. 4) the rendered world starts to look
"pixelated" due to pixels appearing bigger.

To implement the effect, the viewport and scissor are modified when
drawing the world so the rendering results cover a smaller area in the
top-left corner of the image.

The post-processing fragment shader is used to scale the image back to
the swapchain size before drawing UI elements on top of it.

The UI is not affected by this change, so the existing UI scaling
options continue to work as before with no changes, adding some
flexibility to the mix.

Related to feature request #588.
2020-12-24 10:14:39 +01:00
..
010_index.md Document the commands added by YQ2. 2019-10-12 16:39:42 +02:00
020_installation.md Update URL to the Windows build envs. 2019-11-17 12:42:13 +01:00
030_configuration.md Document aynsc configuration correction. 2020-03-18 06:42:35 -05:00
040_cvarlist.md Add resolution scaling to Vulkan renderer 2020-12-24 10:14:39 +01:00
050_commands.md Add ioquake3 vstr/nextdemo support 2020-10-06 23:38:12 +03:00
060_multiplayer.md Document how map rotations are configured. 2019-10-12 16:45:55 +02:00
070_packaging.md Reorder documentation files and make room for future additions. 2019-10-12 16:17:18 +02:00
080_contributing.md Reorder documentation files and make room for future additions. 2019-10-12 16:17:18 +02:00
090_filelists.md doc/090_filelists.md: Fix GOG music filelist 2020-08-20 16:01:54 +02:00