vram-guild / canvas

Shader-Based Minecraft Renderer for Fabric
GNU Lesser General Public License v3.0
418 stars 40 forks source link

Leashes aren't lit correctly in some pipelines #346

Open grondag opened 2 years ago

grondag commented 2 years ago

The fix for #341 was to render leashes directly after each entity. This is necessary because leashes are drawn as triangle strips in vanilla. This is not great for performance, and also makes it very difficult for some pipelines to intercept, understand and light the leash material directly.

Ideally, leashes could be drawn with a real material, perhaps with quads, but that will require a more extensive and invasive change.