Skip to content
07-848 2005

V-Ray for SketchUp, materials

Displacement attributes

Learn how to use the Displacement Attribute in V-Ray for SketchUp and what each setting controls.

On this page
  1. Overview
  2. Parameters

Use this guide to adjust the Displacement Attribute in V-Ray for SketchUp.

Overview

Some V-Ray materials have an Add Attribute button. Use it to add attributes that change the material's appearance. See Add Attribute on the How to Work with Materials page.

Parameters

Displacement enables or disables the displacement effect.

Mode / Map sets the mode used to render displacement.

2D Displacement uses a texture map known in advance. It renders the displaced surface as a warped height field based on that map. V-Ray raytraces the surface in texture space, then maps the result back into 3D space. This method preserves all details in the displacement map, but your object must have valid texture coordinates. You cannot use it with 3d procedural textures or textures that use object or world coordinates. The parameter can take any value.
Normal Displacement subdivides the original surface's triangles into smaller triangles, then displaces them.

Amount controls the amount of displacement. At 0.0, the object appears unchanged. Higher values increase the displacement effect. Negative values push the geometry inside the object.

Shift adds a constant to the displacement map values. This moves the displaced surface up or down along its normals. The value can be positive or negative.

Keep Continuity tries to keep the surface connected without splits where faces have different smoothing groups, material IDs or both. V-Ray cannot always guarantee surface continuity when you use material IDs to combine displacement maps. Use vertex colours, masks or other methods to blend the maps instead.

Resolution is available when Mode/Map is set to 2D Displacement. It sets the resolution of the displacement texture V-Ray uses. For bitmap textures, match this resolution to the bitmap size. For procedural 2D maps, choose a resolution that gives you the displacement quality and detail you need. V-Ray also generates a normal map from the displacement map to compensate for details the displaced surface does not capture.

View Dependent controls the units used for Edge length. When enabled, Edge length sets the maximum subtriangle edge length in pixels. At 1.0, the longest edge of each subtriangle is about one pixel long when projected on screen. When disabled, Edge length sets the maximum subtriangle edge length in world units.

Edge Length controls displacement quality. V-Ray subdivides each triangle in the original mesh into smaller triangles. More subtriangles give you more detail, but increase render time and RAM use. Fewer subtriangles reduce detail, render time and RAM use. The meaning of Edge length depends on the View dependent parameter. The slider's minimum value is 0.4. You can type lower values into the input box, but they may cause long render delays.

Max Subdivs limits the subtriangles generated from each original mesh triangle when the displacement type is Subdivision. The value is the square root of the maximum subtriangle count. For example, 256 allows up to 256 x 256 = 65536 subtriangles per original triangle. Avoid very high values. If you need more detail, tessellate the original mesh into smaller triangles instead. V-Ray rounds each triangle's subdivisions up to the nearest power of two. This helps avoid gaps caused by different tessellation on neighbouring triangles.

Water Level clips surface geometry where the displacement map value falls below the specified threshold. Use it for clip mapping based on displacement map values.

Level Height sets the value below which geometry is clipped.

Displacement panel with Normal Displacement selected, View Dependent ticked and Water Level enabled.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your V-Ray licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with V-Ray are handled by Chaos support.