Would be very useful to have, I think. Currently I can only do ‘object.material.color’, or any of the other material properties, but I cannot do ‘object.material.uniforms.foo.value’ when creating a PropertyBinding. I can create a PR for this if y’all think it’d be valuable.
1 thought on “Animation property binding for shader uniforms”
Comments are closed.
You can do this with a bit of hackery:
Here’s a JSFiddle.
If you see a way to support
object.material.uniforms.foo.value
directly that would be great, but I’m worried it may not be easy to do cleanly.