Ears icon indicating copy to clipboard operation
Ears copied to clipboard

Emissive pixels are incorrectly transparent(?) on heads

Open 0xFE0F opened this issue 1 year ago • 1 comments

Version: 1.20.1 Mod Loader: Fabric

Emissive pixels on player heads are not rendered at all Screenshot of the bug in-action:

2023-07-22_11 18 24

(Also sorry if this is bad, this is the first bug report I've ever made)

0xFE0F avatar Jul 22 '23 18:07 0xFE0F

Yes, this is one of the reasons emissives are still beta. They work by drawing your entire player a second time without lighting using an alternate version of your skin that's just the emissive pixels. To avoid z-fighting, the places emissive pixels were on the vanilla skin are erased.

The way these are rendered has been pending a rework for a long time, likely via GL_POLYGON_OFFSET, but it's not something I've gotten around to.

unascribed avatar Jul 23 '23 00:07 unascribed