terrarium-earth / Chipped

Adds 10,000+ building blocks to Minecraft! Because every block needs a friend!
Other
73 stars 44 forks source link

[Bug]: Rain doesn't show through glass. #303

Open fiddleplum opened 4 months ago

fiddleplum commented 4 months ago

Bug Description

Rain doesn't show through the Chipped clear glass panes, but does in the vanilla glass panes (using no shaders fancy settings or Sildur's Enhanced Default Fancy shader with the same effect). They do show on more powerful shaders, but at the cost of performance. Here's a screenshot example:

image

The center pane is the vanilla glass pane, and the surrounding panes are Clear Leaded Glass Panes from Chipped.

It looks like they aren't being rendered as cutouts, but rather translucent. Here is a pic of the corresponding depth buffer:

image

Just the vanilla center is rendered correctly. I don't know if it is all of the panes (definitely not the stained glass), but the few that I'm using look to be using either completely clear or completely opaque pixels, which means they can use the RenderType.cutout() setting which I believe should allow the rain the come through.

A note, I am using Chipped as part of the Prominence II [RPG] mod pack, but I don't believe the rest of the pack affects this issue. If you can't reproduce, I can disable all other mods and try again.

How to Reproduce?

No response

Expected Behavior

No response

Version

3.0.4

Mod Loader Version

1.20.1

Mod Loader

Fabric

Logs or additional context

No response

Code of Conduct