-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to tell the engine to load textures underneath blocks with alpha #17
Comments
Hi, I think two separate properties are overlapping here. When you register a material, you specify a Separate from that, when you register a block type you specify whether it's (Note that blocks also have a property Let me know if this works! |
I will try now. But yeah, I was a bit confused with the difference between opaque, solid and so forth. So:
Correct? If so, shouldn't the leaf not be opaque? |
Yes, you have it right, and the leafs should not be opaque (that was a typo 😬 ). Basically they're all really single-purpose properties. I mean, it probably won't make any sense to have a block that's fluid but solid, or that's opaque but has alpha, but the engine looks as each property in different ways so I have them all separate for now. |
Sweet, I just set |
I have been playing around with the testbed and found the
leaf.png
, which is supposed to represent the leaves for a tree. I tried applying it to the ground and this was the result:It looks like the engine loads only 1 level of blocks (probably for optimization) but that fails when the block
hasAlpha: true
.The text was updated successfully, but these errors were encountered: