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

Transparent pieces #33

Open
akiradeveloper opened this issue Oct 10, 2021 · 0 comments
Open

Transparent pieces #33

akiradeveloper opened this issue Oct 10, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@akiradeveloper
Copy link
Owner

akiradeveloper commented Oct 10, 2021

The component has blacklist which is a set of surfaces which will be painted in black.

Instead of this, I want to specify set of pieces to be transparent.

Transparent piece isn't possible with real cube so will be a great value.

To make a piece transparent, we can use so-called alpha brending. But since other pieces aren't transparent. We need to do some graphic technique to see solid piece behind a transparent piece because depth buffer enabled normally eliminated the solid piece when they are drawn front to back.

My idea is firstly draw all solid pieces and then transparent ones.

@akiradeveloper akiradeveloper added the help wanted Extra attention is needed label Oct 10, 2021
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
Projects
None yet
Development

No branches or pull requests

1 participant