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.
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.