minetest/client/shaders/nodes_shader
x2048 a5d29fa1d4
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
2022-04-14 22:49:30 +02:00
..
opengl_fragment.glsl Implement shadow offsets for the new SM distortion function (#12191) 2022-04-14 22:49:30 +02:00
opengl_vertex.glsl Implement shadow offsets for the new SM distortion function (#12191) 2022-04-14 22:49:30 +02:00