mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-30 17:06:56 +01:00
maybe fix held item rendering
This commit is contained in:
parent
d391ed570e
commit
029f56da57
1 changed files with 5 additions and 4 deletions
|
@ -84,6 +84,7 @@ public class FastKineticRenderer {
|
||||||
|
|
||||||
GL13.glActiveTexture(GL40.GL_TEXTURE0);
|
GL13.glActiveTexture(GL40.GL_TEXTURE0);
|
||||||
GL11.glBindTexture(GL11.GL_TEXTURE_2D, blockAtlasTexture.getGlTextureId());
|
GL11.glBindTexture(GL11.GL_TEXTURE_2D, blockAtlasTexture.getGlTextureId());
|
||||||
|
blockAtlasTexture.setBlurMipmap(false, true);
|
||||||
|
|
||||||
GL13.glActiveTexture(GL40.GL_TEXTURE0 + 1);
|
GL13.glActiveTexture(GL40.GL_TEXTURE0 + 1);
|
||||||
GL11.glBindTexture(GL11.GL_TEXTURE_2D, lightTexture.getGlTextureId());
|
GL11.glBindTexture(GL11.GL_TEXTURE_2D, lightTexture.getGlTextureId());
|
||||||
|
@ -129,10 +130,10 @@ public class FastKineticRenderer {
|
||||||
|
|
||||||
ShaderHelper.releaseShader();
|
ShaderHelper.releaseShader();
|
||||||
|
|
||||||
GL40.glActiveTexture(GL40.GL_TEXTURE0 + 1);
|
GL13.glActiveTexture(GL40.GL_TEXTURE0 + 1);
|
||||||
GL40.glBindTexture(GL11.GL_TEXTURE_2D, 0);
|
GL11.glBindTexture(GL11.GL_TEXTURE_2D, 0);
|
||||||
GL40.glActiveTexture(GL40.GL_TEXTURE0);
|
GL13.glActiveTexture(GL40.GL_TEXTURE0);
|
||||||
GL40.glBindTexture(GL11.GL_TEXTURE_2D, 0);
|
blockAtlasTexture.restoreLastBlurMipmap();
|
||||||
|
|
||||||
RenderSystem.disableCull();
|
RenderSystem.disableCull();
|
||||||
RenderSystem.disableBlend();
|
RenderSystem.disableBlend();
|
||||||
|
|
Loading…
Reference in a new issue