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

Face id at each pixel #286

Open
gtangg11 opened this issue Jun 25, 2024 · 0 comments
Open

Face id at each pixel #286

gtangg11 opened this issue Jun 25, 2024 · 0 comments

Comments

@gtangg11
Copy link

gtangg11 commented Jun 25, 2024

Hey, great repo. Is it possible to modify renderer + add a shader that computes the face id rendered at each pixel? This functionally would make life a lot easier for many downstream applications and allow us to map face metadata to pixel.

I see this is possible for many attributes of primitive already:

if bf & BufFlags.NORMAL:

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

1 participant