Shadows generated by shaders are now correctly following the new sun position.
Thanks to Andrew (@Gaider10) for helping out!
Change log
- Fix Iris shaders shadows not being correctly rotated.
- Refactored some code.
- Full Changelog: v1.1.1...v1.2.0
Compatibility
- Tested with Fabric 1.19.3 and above without shaders.
- Tested with Fabric 1.20.3 using Iris 1.7.0 and Sodium 0.5.8 and above with shaders.