vram-guild / canvas

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

Canvas ignores RenderSystem.runAsFancy() #396

Open grondag opened 2 years ago

grondag commented 2 years ago

This is useful for mods that want to render entities and block entities to GUI.

Probably the best way to handle is to expose a hook that forces target to main frame buffer irrespective of materials and then activate/deactivate that hook from RenderSystem.runAsFancy().

This mod has a test case: https://github.com/wisp-forest/affinity/

See discord Canvas channel for additional detail.