unascribed / Ears

Faithful fancy fashion features for fuzzy folk.
https://ears.unascribed.com
MIT License
91 stars 15 forks source link

Optional snout backfaces #140

Open lumiscosity opened 1 year ago

lumiscosity commented 1 year ago

I'm using Mine Little Pony (for transparent skin support through its underlying library, Kirin) and Ears together to make a transparent skin with Ears features. However, when looking through any faces of the skin, the snout isn't rendered. In order to make the snout transparency appear correctly from the front (where no culling of the player's face occurs), the pixels right behind it are set to 0 opacity, which leaves an awkward rectangle in the middle. This only happens when the camera is outside of the player's head.

2023-09-26_14 07 33 2023-09-26_14 07 38

The solution for this would be to disable the snout being culled when looking through the sides of the player's head.

unascribed commented 1 year ago

Ears relies on backface culling for all of its rendering. An option to add backfaces to snouts would be useful for this specific situation — it would not necessarily be desirable for all sorts of transparent/translucent snout, though.