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

NormalsMaterial / UvsMaterial not working #297

Open
RaduBerinde opened this issue Jun 18, 2022 · 0 comments
Open

NormalsMaterial / UvsMaterial not working #297

RaduBerinde opened this issue Jun 18, 2022 · 0 comments

Comments

@RaduBerinde
Copy link
Contributor

I tried switching to NormalsMaterial or UvsMaterial and neither seems to be working (the shapes I apply the material to don't show up). I tried comparing the code to ObjectsMaterial and couldn't find anything materially different in the use of underlying APIs, so I don't know what's not working. Tried messing around with the shaders (eg to always show white) but still nothing shows up. I can create my own material (starting from ObjectsMaterial) and I can make it show normals or UVs and that works fine.

In any case, I think it would be worth it to have an example with all materials just so the code doesn't rot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants