fand / veda

⚡VJ / Live Coding on Atom⚡
http://veda.gl/
MIT License
509 stars 34 forks source link

Use RawShaderMaterial? #72

Closed fand closed 6 years ago

fand commented 6 years ago

Currently VEDA uses THREE.ShaderMaterial but this might cause problems. e.g. Duplicate declaration of uniforms

fand commented 6 years ago

I understood the differences between ShaderMaterial and RawShaderMaterial. Now I think we need to provide alternatives for preset-uniforms like modelViewMatrix if we chose RawShaderMaterial. I put off this issue til we replace vedajs with pure WebGL.