4 ms·
Is there a way to turn on non-constant shading?
by santaclaus 10y ago
Is there a way to turn on non-constant shading?
- chinedufn 10y agoOh interesting: So the short answer is - not in the demo, but yes in your own code --- The demo's model rendering is powered by load-collada-dae ( https://github.com/chinedufn/load-collada-dae https://github.com/chinedufn/load-collada-dae ) which right now has a default shader (what you see in this demo) and very few options to manipulate that default shader (I'm still thinking about the API) Planning to update load-collada-dae to allow the user to pass in their own shader (with non-constant shading if they so please) But skeletal-animation-system works completely independently of whatever renderer you're using so you could swap out load-collada-dae with, say, regl or Three.js or your own custom library.