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

Add set vertexShader for ShaderMaterial. #152

Merged

Conversation

johsin18
Copy link
Contributor

I need this setter for my application.

WebGLRenderer.setMaterialShaders does not suit my purpose, as it clones the uniforms, and adds unnecessary overhead.

@nelsonsilva
Copy link
Member

@johsin18 Could you please add setters and getters for uniforms, fragmentShader and vertexShader then. This might be useful. Thx.

@johsin18 johsin18 force-pushed the set-vertexShader-for-ShaderMaterial branch from 6b581a3 to 9c67a70 Compare December 1, 2014 21:27
@johsin18
Copy link
Contributor Author

johsin18 commented Dec 6, 2014

Done. Please merge in the updated branch.

nelsonsilva added a commit that referenced this pull request Dec 9, 2014
…rial

Add set vertexShader for ShaderMaterial.
@nelsonsilva nelsonsilva merged commit a7628bb into threeDart:master Dec 9, 2014
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.

None yet

2 participants