shader-park / shader-park-core

A JavaScript library for creating real-time 2D and 3D shaders. JS -> Shader. https://shaderpark.com/ https://twitter.com/shaderpark

Home Page:https://shaderpark.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integrate with threejs lighting model

PWhiddy opened this issue · comments

this should be pretty straightforward following unity example. big question is, how will the library be used without threejs?

An issue is that this would make all existing sculptures look different.

we could add it as a hard dependency, but that would rule out the super lightweight option (unless it was generated at build time?)

we could also take more material glsl from threejs.