[Bug] Illumination Lights not Working with Stained Glass
ljtpetersen opened this issue ยท 1 comments
Minecraft version
1.19.x
CodeChickenLib version
4.3.2
CBMultipart version
3.2.0
ProjectRed version
4.18.0
What happened?
When looking at lit lamps from Project Red Illumination though stained or tinted glass, the lamps appear to be unlit. The two attached screenshots show the same lamps, one through regular glass, one through stained glass.
Crash log
The game did not crash.
How do you make it happen again?
Place an lamp from Project Red Illumination, and power it such that it turns on. If the lamp is inverted, it does not need to be powered. Then, place a piece of stained or tinted glass, and observe the lamp through the glass.
This is a limitation of Minecraft's render engine. Many things cannot render through translucent materials, such as particle effects. Note that normal glass is transparent rather than translucent, so more things pass through it correctly.
If you enable the Fabulous rendering mode, it will use shader based transparency to fix quirks like this. Project Red lights were recently updated to work very well with this mode.