Render CustomProceduralTexture when uniform changes

Is there a way to only render a custom procedural texture when a uniform changes?

I’m looking at ProceduralTexture.shouldRender function and it appears that you need to give the texture a refresh rate or set it to animate for it to render.

I just found ProceduralTexture.resetRefreshCounter:

I’ll call that whenever I change a uniform.

good job :smiley: