Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 9, 2020

Related issue: Fixed #20653.

Description

Another side effect of refactoring the usage of onBeforeCompile() in NodeMaterial. Since the build of a node material is only done when using onBeforeCompile(), some information are not copied from the node builder to the actual material which are required in WebGLPrograms.getParameters(). NodeMaterial has to copy these properties manually now. It's essentially the same issue than lead to #20630.

@Mugen87 Mugen87 added this to the r123 milestone Nov 9, 2020
@mrdoob mrdoob merged commit 4ad8c66 into mrdoob:dev Nov 9, 2020
@mrdoob
Copy link
Owner

mrdoob commented Nov 9, 2020

Thanks!

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.

node material examples are broken under webgl 1

2 participants