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

WebGPURenderer: add getInstanceIndex() for GLSLNodeBuilder #26978

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

aardgoose
Copy link
Contributor

This adds the basic translation of the variable name, but gl_InstanceID is an int not uint, so a mechanism to change the type is needed and I am not sure what the best way is to do that. @sunag

@aardgoose aardgoose marked this pull request as ready for review October 16, 2023 14:16
@sunag sunag added this to the r158 milestone Oct 16, 2023
@sunag sunag merged commit 982153e into mrdoob:dev Oct 16, 2023
19 checks passed
@aardgoose aardgoose deleted the instance-index branch October 19, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants