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

Custom material #14

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Custom material #14

wants to merge 8 commits into from

Conversation

aligator
Copy link
Owner

@aligator aligator commented Apr 9, 2022

This includes a Phong based material with custom shaders

@jane-rose
Copy link
Contributor

jane-rose commented Apr 18, 2022

One more thing, where did u find the custom phongMaterial demo code? Thanks

@aligator
Copy link
Owner Author

@jane-rose
Copy link
Contributor

jane-rose commented Apr 20, 2022

One more things, is any clue why each gcode I implemented is a triangular prism and not a cylinder like yours?
051C8B34-9745-4FFA-AEE4-3F3424558637

@aligator
Copy link
Owner Author

Maybe you have set renderer.radialSegments = 3
Then its only triangular. (but a little bit faster to render)
With 8 it looks more circular.

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

Successfully merging this pull request may close these issues.

2 participants