diff options
author | x2048 <codeforsmile@gmail.com> | 2022-04-14 22:49:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 22:49:30 +0200 |
commit | a5d29fa1d4bc6849d7a6529edc522accac8219d2 (patch) | |
tree | 16643a9fcfeef12802fb867803a7de35e93d649f /src/client/render/stereo.h | |
parent | 9aabd911eb57a5ddef72dd9b7c96f5cca1bd258e (diff) | |
download | minetest-a5d29fa1d4bc6849d7a6529edc522accac8219d2.tar.gz minetest-a5d29fa1d4bc6849d7a6529edc522accac8219d2.tar.bz2 minetest-a5d29fa1d4bc6849d7a6529edc522accac8219d2.zip |
Implement shadow offsets for the new SM distortion function (#12191)
* Move shadow position calculation to vertex shaders
* Animate entire scene before rendering shadows to prevent lagging of shadows
* Remove unnecessary use of PolygonOffsetFactor
* Apply normal offset to both nodes and objects
* Rename getPerspectiveFactor -> applyPerspectiveDistortion
* Remove perspective distortion from fragment shaders
Diffstat (limited to 'src/client/render/stereo.h')
0 files changed, 0 insertions, 0 deletions