LodestarMC / Lodestone

Library for all of the Lodestar team's projects
https://www.curseforge.com/minecraft/mc-mods/lodestonelib
GNU Lesser General Public License v3.0
76 stars 21 forks source link

Fixed PostProcessor from copying wrong PoseStack. #26

Closed Its-Cryptic closed 5 months ago

Its-Cryptic commented 5 months ago

Changed worldPos function in common.glsl to getWorldPos Now uses a sampler2D for depth instead of a float for easier usage.

PostProcessor.viewModelStack is now copied from the LevelRenderer#renderLevel method AFTER_SOLID_BLOCKS instead of AFTER_LEVEL. Fixes issues with the viewMat & invViewMat being identity matrices.