chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
633 stars 76 forks source link

Fancier Translucency makes black pixels transparent #1718

Open ThisIsBrady opened 3 months ago

ThisIsBrady commented 3 months ago

When Fancier translucency is enabled, fully black, non-transparent pixels on textures turn transparent. It will render correctly in preview and turn transparent in the actual renderer. Only affects RGB value (0, 0, 0).

Fancier Translucency enabled: (Invisible Sheep eye, invisible player head, and artifacts on player's legs) default_2024-04-05_16-58-08-100

Fancier Translucency disabled: (Sheep eye and player head is there) fancier-disabled

leMaik commented 3 months ago

Pinging @JustinTimeCuber :pray: This is a regression either in #1513 or #1670.

JustinTimeCuber commented 3 months ago

I think this is a 0^0 related issue, I'll fix it this weekend

leMaik commented 3 months ago

This bug can also be easily reproduced with the UNKNOWN texture (sheep are not in Chunky yet).

JustinTimeCuber commented 3 months ago

I pushed a fix on a branch, but I need to test it a bit more.