Solid blocks should not be translucent render type
Nightenom opened this issue ยท 4 comments
a) performance hit (camera based sorting + blending for non-translucent blocks, iirc solid/cutout has blending turned off)
b) shaders being stupid and bigger performance hit, example: https://discord.com/channels/472875599422291968/472879361800929290/943173427416694794
problematic code: https://github.com/ldtteam/Domum-Ornamentum/blob/version/latest/src/main/java/com/ldtteam/domumornamentum/client/event/handlers/ModBusEventHandler.java#L62
The problem is how to either define rendertype per block instance or how to connect two instances of same block (one cutout, one translucent) together in way that end-user can't see
Side note: if not yet possible PR into forge: allow block to use more rendertypes -> block rendering methods would need rendertype based variant
Basically the render type selector does not give you the block entity data. You would need to generate a new model per render type like i am doing with candb which is possible, but not something i am planning to add since our current system does not support discarding vertices from the geometry.
As such closing as technically not feasible.