1
0
Fork 0
mirror of https://github.com/dragonfireclient/dragonfireclient.git synced 2024-11-23 03:04:00 -05:00
dragonfireclient/client/shaders/shadow_shaders
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
..
pass1_fragment.glsl Shadow mapping render pass (#11244) 2021-06-06 18:51:21 +02:00
pass1_trans_fragment.glsl Apply shadow only to the naturally lit part of the fragment color (#11722) 2021-10-31 19:18:30 +01:00
pass1_trans_vertex.glsl Implement shadow offsets for the new SM distortion function (#12191) 2022-04-14 22:49:30 +02:00
pass1_vertex.glsl Implement shadow offsets for the new SM distortion function (#12191) 2022-04-14 22:49:30 +02:00
pass2_fragment.glsl Shadow mapping render pass (#11244) 2021-06-06 18:51:21 +02:00
pass2_vertex.glsl Shadow mapping render pass (#11244) 2021-06-06 18:51:21 +02:00