yquake2remaster/stuff/shaders
Ricardo Garcia 5fcfcd56b3 Fullscreen Vulkan fixes
This commit includes the following changes:

* When vid_fullscreen is 1, the game is now drawn centered in the
  screen instead of the top left corner, by modifying the viewport and
  scissor when drawing the world warp and UI render passes.

* When vid_fullscreen is 1, the world view no longer has an incorrect
  size and/or aspect ratio. This was due to the world warp and UI
  render passes sampling from the whole color buffer instead of the
  restricted render area. To fix this, the postprocessing and world warp
  shaders now use unnormalized coordinates, corrected with the frame
  offset, and sample directly from the appropriate texels.

* The game no longer outputs pixels which have not been written to,
  which are usually displayed black but may come out with undefined
  colors. For this, some output color attachments are cleared before
  drawing the final elements in the frame.
2021-01-24 11:52:30 +01:00
..
basic.frag Fix vk_validation warnings 2020-12-12 14:45:04 +01:00
basic.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
basic_color_quad.frag Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
basic_color_quad.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
beam.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
d_light.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
model.frag Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
model.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
nullmodel.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
particle.vert Enable depthWriteEnable for particles 2021-01-10 13:25:10 +02:00
point_particle.frag Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
point_particle.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
polygon.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
polygon_lmap.frag Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
polygon_lmap.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
polygon_warp.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
postprocess.frag Fullscreen Vulkan fixes 2021-01-24 11:52:30 +01:00
postprocess.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
shadows.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
skybox.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
sprite.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00
world_warp.frag Fullscreen Vulkan fixes 2021-01-24 11:52:30 +01:00
world_warp.vert Rebuild shaders with glslang-tools 7.12.3352-10 2020-12-12 14:45:04 +01:00