Faster alternative to getProceduralTextureImage and setProceduralTextureImage


Recommended Posts

Hi all,


In a multiple viewport application I use one player to generate a texture and all other players use that texture in their post material shaders. This works as expected by using "getProceduralTextureImage" and "setProceduralTextureImage". However (as expected) performance is terrible.


Is there a faster alternative to this in Unigine? (something like setProceduralTextureHandle)



Link to post

setImageTextureProcedural function sets texture directly from one material to another.


Material::setImageTextureProcedural(texture number,Procedural material,texture of procedural material).

Link to post