mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-11 16:28:12 -04:00
Fixed lighting issue with hover boots. I think.
This commit is contained in:
parent
2f899190a3
commit
50f7f74353
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user