benfah Posted January 24, 2016 Posted January 24, 2016 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. Quote
Choonster Posted January 24, 2016 Posted January 24, 2016 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 . Quote 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.
Recommended Posts
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.