I am trying to use the ProceduralTextureProvider to do some pixel manipulation in Lens Studio. I have tried to created a temporary texture by calling the following:
var tempTex = ProceduralTextureProvider.createFromTexture(texture);
However I get this error when it's called:
'from' texture should be loaded
I have tried changing the script start event to OnStart, however this hasn't worked. Does anyone know how I can resolve this issue?
Thanks in advance!