# Tutorial #1 - Texture Blend

In the previous tutorial we have created a simple shader for visualizing volumetric mask and demonstrated how to update and control its settings using script. Now we will extend that shader for creating season changing effect - Summer vs Winter.

Output of the DRM node is a *<mark style="color:blue;">float</mark>* value mask and it can be used for interpolating one shader value into another, for example interpolating two textures:

<figure><img src="https://1494537888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVDsGRBXgFisq0hO6tTXv%2Fuploads%2FexY25sqem6QfyRvabAU6%2F6.png?alt=media&#x26;token=df9b77a2-9c13-401f-9e0a-584af79cbb90" alt=""><figcaption></figcaption></figure>

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVDsGRBXgFisq0hO6tTXv%2Fuploads%2FCo2mQmmwPq7924Vn8sm3%2F7.mp4?alt=media&token=691b74e0-80e9-4cb5-9b42-d22ebccf1b13>" %}

Shader above can be improved even more for interpolating not only BaseMaps, but NormalMaps too and adjusting Smoothness and Emission based on the DRM node value:

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVDsGRBXgFisq0hO6tTXv%2Fuploads%2FexeO3b5fTr7NQFk8ez7S%2F8.mp4?alt=media&token=a5a797e4-77e3-41cb-9c1f-eddfc564e5b0>" %}
Improved Snow shader is included in the package
{% endembed %}

All DRM node's visual settings are controlled from the **DRM Game Object** script except **Noise**, that is a part of the shader itself. Add noise texture (or any procedural noise node) and use it for **Noise** input of the DRM node. Now adjusting **Noise Strength** property from the **DRM Game Object** script will affect DRM effect:

<figure><img src="https://1494537888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVDsGRBXgFisq0hO6tTXv%2Fuploads%2FWJA1Jy3zDlGXZrnyiA2g%2F7.png?alt=media&#x26;token=c735c157-e17b-4fc1-9e8e-8b4c62a99a2f" alt=""><figcaption></figcaption></figure>

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVDsGRBXgFisq0hO6tTXv%2Fuploads%2FaZoRk3VAip0iPKaI2dtg%2F9.mp4?alt=media&token=11be98be-08e3-48c9-b758-bd4387a23305>" %}
