# Stock Layer Templates

With every installation of LightAct, you'll get a new and updated library of Layer Templates. These templates are called *Stock Layer Templates*.

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2FIn3KWbgDWmdRLH7bmuG5%2Fimage.png?alt=media&#x26;token=b818d24c-71a2-4565-8c0a-e2a14af1d031" alt=""><figcaption></figcaption></figure></div>

They are divided into the following categories: **Content, Generative** and **Control**.

## Content and Generative Layer Templates

All layer templates in **Content** and **Generative** categories render a texture. The only exception is *Audio* layer template, which of course plays audio assets and doesn't render anything.&#x20;

### Render variable group

If you click on any of these layers (apart from Audio) you will see that they have an identical group of Variables called **Render**.

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2FTQBfz5cOhTvOMuLIAIbb%2Fimage.png?alt=media&#x26;token=9d8b6124-239c-4d4c-ac87-791b243258e5" alt=""><figcaption></figcaption></figure></div>

This group has the same variables in all Layer templates:

* **Blend mode**: determines the blend mode that's going to be used when rendering the texture onto a mapping. The options are the familiar ones such as Normal, Screen, Multiply etc.
* **Opacity**: determines the opacity with which texture when rendered onto the mapping.
* **Mapping:** determines the mapping, which the texture is going to be rendered on. More information about this is in the chapter [Content mapping](https://docs.lightact.com/content-mapping).
* **Clip mode**: determines how the content is rendered onto the mapping. Options are:
  * *Pixel perfect*: renders the texture as it is without and stretching, scaling or cropping
  * *Fit*: scales the texture proportionally so that it fits the mapping. If aspect ratios are different, there will be empty areas in the mapping.
  * *Crop*: fills the mapping in its entirety. If aspect ratios are different, the texture is going to get cropped
  * *Stretch*: fills the entire mapping but if the aspect ratios of the texture and the mapping are different, there will be stretching
* **Angle**: rotates the texture by the specified angle in degrees.
* **Anchor at center**: if unchecked the texture is going to be rotated around the top left corner, if checked, it's going to be rotated around the center.
* **X:** moves the texture by X pixels horizontally
* **Y:** moves the texture by Y pixels vertically
* **Scale X**: scales the texture along horizontal axis
* **Scale Y**: scales the texture along vertical axis
* **Scale proportionally**: if checked, *Scale X* is going to be used for vertical (Y) axis as well.

***

Click on the links below to dive deeper into Layer Templates.

{% content-ref url="stock-layer-templates/content-layer-templates" %}
[content-layer-templates](https://docs.lightact.com/layers-and-layouts/stock-layer-templates/content-layer-templates)
{% endcontent-ref %}

{% content-ref url="stock-layer-templates/generative-layer-templates" %}
[generative-layer-templates](https://docs.lightact.com/layers-and-layouts/stock-layer-templates/generative-layer-templates)
{% endcontent-ref %}

## Control Layer Templates

Control Layer Templates do not render anything nor do they play any audio. Instead they are used for show control and data processing.

{% content-ref url="stock-layer-templates/control-layer-templates" %}
[control-layer-templates](https://docs.lightact.com/layers-and-layouts/stock-layer-templates/control-layer-templates)
{% endcontent-ref %}
