Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This tutorial covers the steps to create snow using multiple V-Ray Decals.

 

Overview

...

Section
Column
width55%

The following instructions show you how to stack multiple V-Ray Decals on several geometries (rocks and terrain) to achieve the appearance of a snowy surface. Each of the decals projects a material on top of the geometries’ materials without being affected by their UV set.

Here, you will learn how to order the decals, make them affect only specific geometries and control the decals’ bumps and spread on the affected geometries.

The scene used in this tutorial contains a simple exterior scene with a terrain and several rock geometries on the foreground. Chaos Cosmos tree assets are used to complete the overall forestry look.

UI Text Box
typenote

When opening the scene files, a mislocated Chaos Cosmos assets warning may pop up. Choose No for working with the assets packed in the archive and keeping consistent output with this tutorial.

UI Button
colorblue
newWindowtrue
titleDownload Scene Files
urlhttps://drive.google.com/uc?export=download&id=1n4HSRbD_sofXnjejOJEcO3zDUqlSzM5H

Column
width5%

 

Column
width40%

 

Step 1: Create VRayDecals

...

Section
Column
width55%

Let’s first render the scene to see how it looks without VRayDecals.

There are several rock geometries on barren terrain in the foreground that need to be covered by snow. Behind them is a small hill with a forest.

For finer control, use separate decals with different settings for the foreground and background geometries. Later on, also assign different materials to them: a simple one for the background where no great detail is needed, and a more complex one for the closeup geometries.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Create the first VRayDecal (VRayDecal001) and set its dimensions to:

Width = 25000m

Length = 25000m

Projection depth = 1500m

Note that a default color is automatically assigned to the decal after its creation.

  • Adjust the decal as shown in the image. Make sure to cover all geometries.

  • Render.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Here’s the rendered decal. It covers all the geometry in the scene. You need to remove its effect from the stones, trees and the lake.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • In the decal’s parameters, click Exclude. In the Exclude/Include dialog, keep the mode to Exclude and pick the geometries.

  • Select the lake (Lake_Water), all tree proxies (Tree_Proxies_Snow), and the rocks and bare tree in the front (Stones_Tree) so they are not affected by the decal.

Note that the Tree_Proxies_Snow group contains tree Cosmos assets that are hidden to speed up rendering. For the final image, the group should be visible.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Now the decal covers the entire terrain but does not affect the lake, rocks and trees. For the trees and stones you are going to use other decals.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Let’s use another VRayDecal (VRayDecal002) for the near terrain and rocks and set different dimensions to it.

Width = 900m

Length = 900m

Projection depth = 200m

  • Adjust it so it covers all geometries in the near terrain, as shown in the image.

  • Set its Order to 1 to bring it over the VRayDecal001.

  • Exclude all the tree proxies (Tree_Proxies_Snow) and rocks (Stones_Tree) from the decal from the Exclude button.

  • Render.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Here’s the rendered decal. It affects only the near terrain, it does not affect the rocks and the trees.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Let’s add a third and last VRayDecal (VRayDecal003) to the stones and the bare tree (Stones_Tree) in the foreground. The dimensions of this decal are as follows:

Width = 20m

Length = 10m

Projection depth = 15m

  • Adjust its position as shown in the image.

  • Render.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Note that each decal is assigned a different default color for easier demonstration of the decals’ dimensions and effect.

Now when the decals have accurate size and location, let’s assign proper materials to them.

Column
width5%

 

Column
width40%

 

Step 2: VRayDecal materials

...

Section
Column
width55%
Fancy Bullets
typecircle
  • Open the Material Editor and create a simple VRayMtl material and assign it to VRayDecal001.

  • Set both the Diffuse color to and the Reflection color to white rgb (245, 245, 245).

  • Reduce Reflection glossiness to 0.6 to blur the reflections.

  • Duplicate the material twice and assign it to VRayDecal002 and VRayDecal003. Name the materials Snow_001, Snow_002, and Snow_003 respectively to ease your workflow.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Here’s how the simple snow material turned out. The closeup parts look too flat. Let’s add some micro detail to the snow material there.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Create a VRayNoiseTex map. Plug it to the displacement slot of Snow_002 material.

  • Set the Displace multiplier to 0.1 in the material’s parameters (Maps rollout)  to reduce the displacement effect.

  • Create another VRayNoiseTex map for the bump of the bigger stones in the foreground, and attach it to Snow_003 material.

  • Lower the Bump multiplier of the material from 30 to 20.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Now there’s much more detail in the foreground, while the background is kept simple to speed up rendering.

However, the bumps are too strong in the closeup geometry. This is because you see the accumulated effect of the terrain's bump plus the decal's own bump.

In the next step, see how to correct this.

Column
width5%

 

Column
width40%

 

Step 3: VRayDecal bump and displacement

...

Section
Column
width55%
Fancy Bullets
typecircle
  • In the VRayDecal002 parameters, enable Use only decal bump option. Thus, the bumps of the terrain material aren’t visible on the displaced snow material.

  • In the VRayDecal003 parameters, set the Surface bump to 20% to reveal the bumps of the snow material more, and to fade the underlying stone bumps.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Now the decal doesn’t cover the rocks very naturally, so let’s see how to fix this via the decal’s parameters.

Column
width5%

 

Column
width40%

 

Step 4: VRayDecal angles

...

Section
Column
width55%

Let’s see how you can use the decal’s Normal angle and Fade out angle options to improve the snow projection.

Fancy Bullets
typecircle
  • Select VRayDecal003 and set its Normal angle to 105.

  • Render the scene.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

The projection changes based on the average of the normal angle - lower normal angles produce less projected material and vice versa. Let’s try another value for the angle.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Set the Normal angle to 75 so it covers the stones a bit less.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Enable the Fade out angle to soften the borders between the decal projection and the snow material. The Fade out angle is always equal or higher than the Normal angle. Note that here, when you enable it, it renders with a value of 105 as this was the first value that you gave to the Normal angle, which is higher than 75.

  • Render.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

The stones are again heavily covered by snow but this time the snow material transitions more naturally to the stones’ edges.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%
Fancy Bullets
typecircle
  • Let’s reduce the Fade out angle to 85 for sharper borders.

  • Render again.

Column
width5%

 

Column
width40%

 

...

 

Section
Column
width55%

Here’s the final look of the snow surface.

Column
width5%

 

Column
width40%

 

...

 

Final Image

Finally, unhide the geometries in the Trees_Proxies_Snow layer. To complete the composition, add Cosmos trees assets with premade geometric snow. Note that VRayDecal’s displacement does not work with proxies.

 

Section
Column
width15%

 

Column
width70%

Column
width15%