Laser Relay incompatibility with EnderIO machine side config
Unatan63 opened this issue ยท 12 comments
When using lasers relays with Ender IO machines you can no longer see the input/output configuration option on the machines, take the lasers off and can use/see them again.
Still don't know what causes this.
Gotta forward this to someone like @HenryLoenwind - Is this on my side? What can I do to fix this?
This is the Laser Relay renderer, and this is the actual method that renders the laser.
I had thought about somehow movig the actual Laser Render to one of the Rendering Events, but haven't played around with that - maybe that's the solution to go for here.
Inside of the GUI? The screen just goes completely either grayish-blue or sky colored, depending on (something..?).
Pressing ESC is the only way to get out of that.
ok, "screen going bluish-gray" is a known error pattern for me. If I just could remember what's causing it ;)
It has to be something related to one of the GL things being disabled/enabled wrongly or inappropriately. But I have so little of a clue about rendering code - that's also why I outsourced the Laser Renderer to someone else as you can see at the top of the method :P
Which TESR renderpass are you rendering in? I'd expect pass 1 (second pass) for transparency? Then try to reset state with:
GlStateManager.enableBlend();
GlStateManager.depthMask(false);
GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
There are different TESR render passes? I didn't even know that.
But I'll try doing that.
yes, 2 passes, so you can render transparent stuff over solid stuff, just like with blocks.