Skip to content
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

Solid Color Opacity #6

Closed
andrewtheone opened this issue Dec 29, 2015 · 5 comments
Closed

Solid Color Opacity #6

andrewtheone opened this issue Dec 29, 2015 · 5 comments

Comments

@andrewtheone
Copy link

Hey!
When I'm setting [1,1,1,0.5] as a color, without texture, it will not render the neighbouring voxel's texture as would expected.

@andrewtheone
Copy link
Author

Edit: seems like its not only solid colors but textures, and its only a bug on the bottom face
So the block below is not rendered

@andrewtheone
Copy link
Author

Fixed(?) opacity is handled the other way around (non-transparent: opaque-true, transparent opaque-false)

@fenomas
Copy link
Owner

fenomas commented Jan 4, 2016

Hey, I'm just catching up with your comments. This is resolved, right? I think the engine is consistent in using opacity (true=solid) rather than transparency (true=see-through). The reason is that the opacity=false case covers both transparent colors (where the mesh gets blended with what's behind it) and textures that are partially empty (like leaves in the demo content - no alpha blending, but some of the texture is transparent).

@andrewtheone
Copy link
Author

Yes it is resolved, thanks :) I just got lost because of the variable name, but finally figured out

@fenomas
Copy link
Owner

fenomas commented Jan 5, 2016

Great. Remember you can close issues if they're resolved 😉

@fenomas fenomas closed this as completed Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants