Skip to content
Discussion options

You must be logged in to vote

It seems that we now need to use RenderLayer.draw(BuiltBuffer). Thus, we need to select a RenderLayer that matches what we want to render. They use a RenderPipeline, where the shader is specified. For example, the RenderLayer.SOLID layer uses the core/terrain shader through the RenderPipelines.SOLID pipeline. If you wanted to render something on the SOLID layer, you would do something like this:

RenderLayer.getSolid().draw(yourBuiltBuffer);

You might as well create your own layer using RenderLayer.of.

I am new modding, I might not be entirely correct.

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@MukjepScarlet
Comment options

@Bais-dynavla
Comment options

@cputnam-a11y
Comment options

@Bais-dynavla
Comment options

@Bais-dynavla
Comment options

Answer selected by bdev42
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Bais-dynavla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
5 participants