Shared Element

Tools  -  A shared element that can be reused at several places like an After Effects precomposition

SharedElement SharedElement SharedElement SharedElement

In Smode, the same element can be used several times in different places, using memory storage space only once. To do this, you need to use Share Element . Right-click on the element you wish to replicate, regardless of its complexity - whether it’s a simple Layer, a complex Compo, or even an entire Scene - and choose ‘Share Element’ .

ShareElement ShareElement

This action will create a Shared Element along with a ReferenceTextureGenerator Icon Reference , where the latter serves as an instance of the former.

SharedElementAndReference SharedElementAndReference

To generate a new ReferenceTextureGenerator Icon Reference from a shared element, [CTRL] + drag and drop it wherever you want to use it in the Element Tree, or duplicate an existing ReferenceTextureGenerator Icon Reference .

Note that each ReferenceTextureGenerator Icon Reference has its own BlendingMode Icon Blending Mode , allowing you to mix different BlendingMode Icon Blending Mode . Additionally, each ReferenceTextureGenerator Icon Reference can have its own local TextureMask Icon 2D Mask , TextureModifier Icon 2D Modifier , and TextureRendererEffect Icon 2D Renderer Effect .

A ReferenceTextureGenerator Icon Reference can then be converted back into a separate element by click -> Import .

ImportReference ImportReference

This will create a copy of the element you had shared, which will be completely independent, but will therefore occupy new storage space.

ImportedReference ImportedReference

To navigate from SharedElement Icon Shared Element to their ReferenceTextureGenerator Icon Reference , right-click on either one, and you’ll see menu shortcuts to bring you directly to them in the Go To section:

SharedElementToReference SharedElementToReference

This is a very powerful tool, indispensable for procedural compositing.

Here’s an example of how to use Shared Elements: you can use the same Compo, containing Particles in this case, to create both a waterfall and to deform the image behind with its luminosity:

Here’s another example demonstrating how to use Shared Elements to texture and procedurally displace a 3D object: