tryashtar / shulker-preview

Data+resource pack for viewing inside of shulker boxes in your inventory
https://tryashtar.github.io/shulker-preview
61 stars 3 forks source link

Basic refactoring of the shader code #20

Closed HalbFettKaese closed 2 years ago

HalbFettKaese commented 2 years ago

Includes a fix for transparent faces occluding other elements.

Also makes each of the functions write to an outCol output variable instead of writing directly to fragColor, making each function more versatile and easier to work with.