Describe the bug
Using addColor neutralizes effect of setVisibleThroughObjects(true)
In which environment did the Bug appear?
Singleplayer
To Reproduce
Steps to reproduce the behavior:
- Open lua repl
- execute
c=component.glasses.addcube3D()
- execute `c.setVisibleThroughObjects(true)
- See cube through blocks
- execute
c.addColor(1,0,0,0.5) --red, half transparent
- Do not see cube through blocks
Expected behavior
Cube must visible through blocks independent on color
Screenshots / Code Snippet
After step 3:

After step 5:

Minecraft:
- Mod Version - OpenGlasses-MC1.12.2-2.2-53
- Minecraft Version - 1.12.2
- Forge Version - 14.23.5.2854
Describe the bug
Using addColor neutralizes effect of setVisibleThroughObjects(true)
In which environment did the Bug appear?
Singleplayer
To Reproduce
Steps to reproduce the behavior:
c=component.glasses.addcube3D()c.addColor(1,0,0,0.5) --red, half transparentExpected behavior
Cube must visible through blocks independent on color
Screenshots / Code Snippet


After step 3:
After step 5:
Minecraft: