hello!
Here is the playground: Babylon.js Playground (babylonjs.com)
I want to update the time attribute in material. However, renderImage.effect.material always return null. Is there any way to update the material in effectwrapper?
Thanks!
hello!
Here is the playground: Babylon.js Playground (babylonjs.com)
I want to update the time attribute in material. However, renderImage.effect.material always return null. Is there any way to update the material in effectwrapper?
Thanks!
By the way, I want to update the background image by shader. I don’t know if effectwrapper is a good choice or not.
There’s a few problems:
material property to EffectuniformNames property in the EffectWrapper constructorEffectRenderer.render each frameHere’s a fixed PG: