ParchmentMC / Parchment

Repository for the Parchment mappings data.
Creative Commons Zero v1.0 Universal
258 stars 82 forks source link

pProjectionMatrix and pFrustumMatrix are swapped in LevelRenderer#renderlevel #278

Closed RadonCoding closed 3 months ago

RadonCoding commented 4 months ago

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

RadonCoding commented 4 months ago

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