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

Shader Passes: clone defines #13422

Merged
merged 1 commit into from
Feb 24, 2018
Merged

Shader Passes: clone defines #13422

merged 1 commit into from
Feb 24, 2018

Conversation

WestLangley
Copy link
Collaborator

Prevent separate instances from sharing defines.

It may not be necessary in all these cases, but I think maintaining a consistent pattern throughout the examples is a good idea. Users copy this code, and this is something that, in the past, has lead to subtle bugs.

/ping @Mugen87
/ping @cnspaha

@Mugen87
Copy link
Collaborator

Mugen87 commented Feb 24, 2018

Yeah, this is a nice pattern 👍

@mrdoob mrdoob added this to the r91 milestone Feb 24, 2018
@mrdoob mrdoob merged commit b20f521 into mrdoob:dev Feb 24, 2018
@mrdoob
Copy link
Owner

mrdoob commented Feb 24, 2018

Thanks!

@WestLangley WestLangley deleted the dev-defines branch February 24, 2018 23:49
@cnspaha
Copy link
Contributor

cnspaha commented Feb 26, 2018

great :)

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.

4 participants