Skip to content

Programmatically src changes prevent the changes of the baseColorFactor #2702

Answered by elalish
slightHYP asked this question in Q&A
Discussion options

You must be logged in to vote

Nice use case, thanks for sharing! As you're modifying our internal code, it's hard to say what the problem is. However, we are working on exposing this kind of functionality in our public API and this example will help guide its design. @timmmeh, what do you think of adding the material index of the hit to the result of positionAndNormalFromPoint()?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@slightHYP
Comment options

@slightHYP
Comment options

@slightHYP
Comment options

@elalish
Comment options

@slightHYP
Comment options

Answer selected by slightHYP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants