namal.bambarasinghe_ Posted October 3, 2014 Share Posted October 3, 2014 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 comment
frustum Posted October 3, 2014 Share Posted October 3, 2014 setImageTextureProcedural function sets texture directly from one material to another. Material::setImageTextureProcedural(texture number,Procedural material,texture of procedural material). Link to comment
Recommended Posts