fix skull cull
This commit is contained in:
parent
4ec8affe85
commit
e2f2417695
17 changed files with 42 additions and 38 deletions
|
@ -84,7 +84,7 @@ public class ItemRenderer
|
|||
GL11.glLightfv(GL11.GL_LIGHT1, GL11.GL_DIFFUSE, setColorBuffer(f1, f1, f1, 1.0F));
|
||||
GL11.glLightfv(GL11.GL_LIGHT1, GL11.GL_AMBIENT, setColorBuffer(0.0F, 0.0F, 0.0F, 1.0F));
|
||||
GL11.glLightfv(GL11.GL_LIGHT1, GL11.GL_SPECULAR, setColorBuffer(f2, f2, f2, 1.0F));
|
||||
GlState.shadeModel(7424);
|
||||
GlState.shadeModel(GL11.GL_FLAT);
|
||||
GL11.glLightModelfv(GL11.GL_LIGHT_MODEL_AMBIENT, setColorBuffer(f, f, f, 1.0F));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue