Open hohserg1 opened 3 years ago
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 transparent
Expected behavior Cube must visible through blocks independent on color
Screenshots / Code Snippet After step 3: After step 5:
Minecraft:
I tested it better: it bug work with any widgets and work only if alpha modifier less that 1
duplicate of https://github.com/Starchasers/OCGlasses/issues/91
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 transparent
Expected behavior Cube must visible through blocks independent on color
Screenshots / Code Snippet After step 3:
After step 5:
![image](https://user-images.githubusercontent.com/35610168/104472286-d890f500-55cc-11eb-9169-6db95f4d467a.png)
Minecraft: