Posted January 24, 20169 yr Hey Guys, do anybody know how to use more than 2 render passes? I searched a lot of projects on GitHub, but I don't know how to do it Thanks in advance.
January 24, 20169 yr Block#canRenderInPass determines whether a Block can render in the specified pass. If you look at the usages of it, you'll see it's called from a loop in WorldRenderer#updateRenderer ; this loop only iterates from 0 to 1, so there are only two render passes for blocks. Item#getRenderPasses determines how many render passes are used to render an Item (only called if Item#requiresMultipleRenderPasses returns true ). I assume you can use as many render passes as you want, up to Integer.MAX_VALUE . Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.