Skip to content

Render Layer Creation API #29

Description

@Olafcio1

If you're not an Avoid addon developer: Render Layer is the avoid nickname. The minecraft name is called Render Pipeline.

There are cases where a mod would want to add custom shaders for only its own elements. Sure, a green-screen could be used to achieve such effect (with e.g. the alpha value being used as an additional value field), but that's brittle, and at some point, the colors will end. It's like an ID collision scenario - like in legacy Minecraft modding: there weren't infinite block/item/... IDs; there aren't infinite colors (especially the ones that players never see to use for custom meaning) either.

So, what could be done instead, is rendering things onto a custom render layer. It is already possible, but new render layers cannot be created from the Avoid API itself.

The solution? Add render layer creating to Avoid.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions