Engine
Engine copied to clipboard
Bug: Exporting screenshots at resolutions higher than current game resolution makes water display incorrectly
Describe the bug
Taking screenshots using the png command at a viewport resolution that is higher than the game's current screen resolution will cause projected water refractions to vertically scale incorrectly throughout the entire framebuffer.
Exporting at 1920x1080px (native resolution):
Exporting at 3840x2160px (2x native resolution):
To Reproduce
- Launch game with
-w 1920 -h 1080 - Launch any map with water; the base Portal 2 maps from a1-a3 have plenty of reflective water
- Move and look directly at a water surface
- Spew current ingame framebuffer by invoking
png 3840 2160 test - Check the spewed framebuffer in mod
screenshotsdirectory
Issue Map
N/A
Expected Behavior
Water should be displaying correctly at higher export resolutions
Operating System
Not Applicable
Can you test this on the next release? A potential fix was merged recently.