Fixed lighting issue with hover boots. I think.

This commit is contained in:
Florian Nücke 2015-07-04 01:33:14 +02:00
parent 2f899190a3
commit 50f7f74353

View File

@ -100,8 +100,8 @@ object HoverBootRenderer extends ModelBiped {
class LightModelRenderer(modelBase: ModelBase, name: String) extends ModelRenderer(modelBase, name) {
override def render(dt: Float): Unit = {
RenderState.disableLighting()
GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS)
RenderState.disableLighting()
GL11.glDepthFunc(GL11.GL_LEQUAL)
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE)
GL11.glColor3ub(0x66.toByte, 0xDD.toByte, 0x55.toByte)