Faster alternative to getProceduralTextureImage and setProceduralTextureImage


photo

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)

 

Thanks

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