Bloodmoon

Bloodmoon

33M Downloads

Use GLStateManager for manipulating colors

HellFirePvP opened this issue ยท 2 comments

commented

https://github.com/lumien231/Bloodmoon/blob/master/src/main/java/lumien/bloodmoon/client/ClientBloodmoonHandler.java#L50

Settings the color directly without the StateManager causes future recoloring to fail in case the GLStateManager's cached color is the same as the one requested. Not using the GLStateManager causes desync between the actual GL context and the StateManager, leading to stuff like THIS

commented

It'll cause a StateManager desync, but the picture provided isn't that. It's the recolorization of the light itself that's causing this: Disable the appearance.RedLight option in the config and it'll render like it's supposed to.

commented

Ah. Right. i forgot that the whole messing up rendering is a feature..