FiguraMC / Figura

Extensively customize your character with Figura!
https://modrinth.com/mod/figura
GNU Lesser General Public License v2.1
225 stars 44 forks source link

Set RenderType of flat cubes to TRANSLUCENT_CULL #208

Closed Manuel-3 closed 1 month ago

Manuel-3 commented 5 months ago

Detects flat cubes and sets their RenderType to TRANSLUCENT_CULL to prevent z-fighting, if they don't already have a RenderType. Does not change Meshes, only Cubes.

This is useful because any time someone makes a flat cube, they must also do a workaround to fix the z-fighting that will happen, either by applying an inflate value to the cube, or to manually set the render type to TRANSLUCENT_CULL in their script. This will no longer be necessary.

Based on a feature suggestion on Discord.