Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //EntityRenderer:
- distortScreen(par1, this.mc.thePlayer, rendererUpdateCount); //Right before orientCamera, where the nether portal also distorts the screen
- useShader((float)rendererUpdateCount + par1, mc); //Right before renderWorld
- stopUsingShader(); //Right after renderWorld
- setLightmapEnabled(false); //Right before renderSky
- setLightmapEnabled(true); //Right after renderSky
- setLightmapEnabled(false); //Right before renderClouds
- setLightmapEnabled(true); //Right after renderClouds
- //RenderGlobal:
- renderAllHallucinations(par3); //At the end of the profilers' "entities" section, but before the "tileentities" section
- setTexture2DEnabled(false); //Before calling the glSkyList
- setTexture2DEnabled(true); //After calling the glSkyList
- setBlendFunc(GL11.GL_ONE); //Before rendering the sun (Search: "/terrain/sun.png"), where "GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE);" is called.
- setTexture2DEnabled(false); //Before calling the starGLCallList
- setTexture2DEnabled(true); //After calling the starGLCallList
- setBlendFunc(GL11.GL_ONE_MINUS_SRC_ALPHA); //A few lines later, where "GL11.glEnable(GL11.GL_ALPHA_TEST);" is called
- setTexture2DEnabled(false); //Before glSkyList2 is called
- setTexture2DEnabled(true); //After glSkyList2 is called
- //The glSkyList2 is called 2 times. These must be implemented at both spots.
- setLightmapEnabled(false); //Inside drawBlockDamageTexture, right before iterating through the list of breaking blocks
- setLightmapEnabled(true); //Inside drawBlockDamageTexture, right after iterating through the list of breaking blocks
- setLightmapEnabled(false); //Inside drawSelectionBox, where "GL11.glDisable(GL11.GL_TEXTURE_2D);" is called
- setTexture2DEnabled(false); //Right after that
- setTexture2DEnabled(true); //Inside drawSelectionBox, where "GL11.glEnable(GL11.GL_TEXTURE_2D);" is called
- setLightmapEnabled(true); //Right after that
- //GuiIngame:
- renderOverlays(par1, mc.thePlayer, updateCounter, var6, var7, mc); //After rendering the pumpkinBlur, and the portalOverlay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement