ParchmentMC/Parchment

pProjectionMatrix and pFrustumMatrix are swapped in LevelRenderer#renderlevel

Closed this issue · 1 comments

Minecraft version: 1.20.6
Mappings version: 2024.05.01

public void renderLevel(
        float pPartialTick,
        long pNanoTime,
        boolean pRenderBlockOutline,
        Camera pCamera,
        GameRenderer pGameRenderer,
        LightTexture pLightTexture,
        Matrix4f pProjectionMatrix,
        Matrix4f pFrustrumMatrix
    )

pProjectionMatrix is pFrustrumMatrix and pFrustrumMatrix is pProjectionMatrix

i should add that it's not only renderLevel but also the functions called from renderLevel such as renderSky, renderSectionLayer, and renderClouds