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

Honor three.js lighting (among other parameters given to the shaders) #2

Open
shama opened this issue Aug 1, 2013 · 1 comment
Open

Comments

@shama
Copy link
Owner

shama commented Aug 1, 2013

No description provided.

@shama
Copy link
Owner Author

shama commented Aug 2, 2013

Notes: you can access existing three.js shader defaults with THREE.ShaderLib. See https://github.com/mrdoob/three.js/blob/dev/src/renderers/WebGLShaders.js#L1936

So just a matter of inheriting one of those to get all the values and connecting them up. Maybe another lib as that sounds messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant