This page provides information about the Bump material in V-Ray for SketchUp.
The Bump Material gives the ability to add bump map and normal map effects when using any material.
Simply apply a Bump Material to an object to add additional bump or normal map functionality. Stacking multiple Bump Materials together can create a more complex surface material by allowing the use of several bump and or normal maps together easily.
One of the common use cases of the Bump material is to produce a Round Edges effect for other materials with already existing Normal or Bump mapping. The correct workflow is the following:
- Have a material with set up Bump or Normal mapping;
- Create a Bump material set to Bump Texture Channel mode and connect an Edges texture for the rounded corners effect;
- Slot the first material into the Bump material to achieve the combined effect.
The Bump material settings are organized in Basic and Advanced modes. You can switch the mode from the toggle button under the Preview Swatch or globally from the Configuration rollout of the Settings tab.
From the Add Attribute button, you can select additional attributes that can add up to the appearance of the material. For more information, see the Attributes section.
An Add Layer button is provided for some V-Ray materials, including Bump. You can select an additional layer that can add up to the appearance of the material. For more information, see the Layers section on Materials page.
The Bump material itself can be created by adding a Bump layer.
A Reset option is provided in the context menu of each Number Slider. You can reset the slider value to the default one.
Some options are available only in Advanced mode.
Base – Allows the user to select the base material to which the bump/normal effect is added.
Mode / Map – Allows the user to specify whether a bump map or a normal map effect is added to the base material.
Bump Map – A height map should be used.
Bump Texture Channel – Most commonly used for the Round Edges effect (Edges texture used as bump).
Normal Map – RGB map should be used. If a Bitmap texture is slotted its color space must be set to Rendering Space (Linear).
Normal Map Type – Specifies the normal map type. This options is available when Normal Map is selected as Mode/Map.
Tangent Space – Uses tangents set to each individual face.
Object Space – Uses each object's local coordinates.
Screen Space – Uses a flat projection along the camera direction.
World Space – Uses world coordinates.
Amount – A multiplier for the bump/normal map.
Delta Scale – It specifies a scale for sampling the bitmap when Bump Map is selected. The exact value is calculated automatically by V-Ray, but can be scaled here.
Texture Mode – Enables texture binding. Changing the V-Ray material texture changes the corresponding base application material texture and vise versa.
Auto – Binds the Diffuse texture to the base app material.
Texture Helper – Allows for the use of a helper texture as base application material map. The same helper is used if the binded texture is a procedural map. This is useful every time you have to set texture placement for a map that cannot be displayed accurately in the base app.
Custom – Allows for the use of a custom texture as base application material map.
Disabling this parameter allows for changing the base app material texture without affecting the V-Ray material.
Can be Overridden – When disabled, the material is not overridden by the Material Override option in the Render Settings.
The attributes from the following expandable menus are available for the Bump material.
Back Material– Defines the material V-Ray uses for back side faces as defined by their normals.
Translucency – Determines if the front or the back side of the material is more visible in the rendering process. By default this value is 0.5, which means that both sides are equally visible. When this parameter is closer to zero, the material facing the camera is more visible, when it is closer to one, the back material is more visible. A texture can be used to control the variation of the effect.
Mult. by Front Diffuse – When enabled, the translucency is multiplied by the diffuse of the front material.
Displacement1 – Enables or disables the displacement effect.
Mode/ Map2 – Specifies the mode in which the displacement is rendered.
2D Displacement – Bases the displacement on a texture map that is known in advanced. The displaced surface is rendered as a warped height-field based on that texture map. The actual raytracing of the displaced surface is done in texture space and the result is mapped back into 3D space. The advantage of this method is that it preserves all details in the displacement map. However, it requires the object to have valid texture coordinates. You cannot use this method for 3d procedural textures or other textures that use object or world coordinates. The parameter can take any values.
Normal Displacement – Takes the original surface geometry and subdivides its triangles into smaller sub-triangles, which then are displaced.
Amount – The amount of displacement. A value of 0.0 means the object appears unchanged. Higher values produce a greater displacement effect. This parameter can also take a negative value, in which case the displacement pushes geometry inside the object.
Shift – Specifies a constant, which is added to the displacement map values, effectively shifting the displaced surface up and down along the normals. This can be either positive or negative.
Keep continuity – When enabled, tries to produce a connected surface, without splits, when there are faces from different smoothing groups and/or material IDs. Note that using material IDs is not a very good way to combine displacement maps since V-Ray cannot always guarantee the surface continuity. Use other methods (vertex colors, masks etc.) to blend different displacement maps.
Resolution – This option is available when the Mode/Map is 2D Displacement. It determines the resolution of the displacement texture used by V-Ray. If the texture is a bitmap, it is recommended to match this resolution to the size of the bitmap. For procedural 2D maps, the resolution is determined by the desired quality and detail in the displacement. Note that V-Ray also automatically generates a normal map based on the displacement map in order to compensate for details not captured by the actual displaced surface.
View dependent – When enabled, Edge length determines the maximum length of a subtriangle edge in pixels. A value of 1.0 means that the longest edge of each subtriangle is about one pixel long when projected on the screen. When disabled, Edge length is the maximum sub-triangle edge length in world units.
Edge length – Determines the quality of the displacement. Each triangle of the original mesh is subdivided into a number of subtriangles. More subtriangles mean more detail in the displacement, slower rendering times and more RAM usage. Less subtriangles mean less detail, faster rendering and less RAM. The meaning of Edge length depends on the View dependent parameter. The slider's minimum range is set to 0.4. Using lower values is still possible by manually typing them in the input box but it may cause significant render delay.
Max subdivs – Controls the maximum sub-triangles generated from any triangle of the original mesh when the displacement type is Subdivision. The value is in fact the square root of the maximum number of subtriangles. For example, a value of 256 means that at most 256 x 256 = 65536 subtriangles will be generated for any given original triangle. It is not a good idea to keep this value very high. If you need to use higher values, it will be better to tessellate the original mesh itself into smaller triangles instead. The actual subdivisions for a triangle are rounded up to the nearest power of two (this makes it easier to avoid gaps because of different tessellation on neighboring triangles).
Water Level – Clips the surface geometry in places where the displacement map value is below the specified threshold. This can be used for clip mapping a displacement map value below which geometry will be clipped.
Level Height – Value below which the geometry is clipped.
Materials need to be applied to objects (groups/components) to have working displacement. If various materials are applied to different faces of an object, the displacement from the top-level (group/component) material will be used on all of them. Normal Displacement will take into account the texture size of each different face material, while 2D Displacement will ignore them.
Visible to Camera – When enabled, makes objects using this material visible to the camera.
Visible to Reflections – When enabled, this option makes objects using this material visible for to Reflection rays.
Visible to Refractions – When enabled, this option makes objects using this material visible for the Refraction rays.
Cast Shadows – When disabled, all objects with this material applied do not cast shadows.
Shadows – The material that is used when a shadow ray hits the surface.
Reflection – The material that is used when a reflection ray hits the surface.
Refraction– The material that is used when a refraction ray hits the surface.
GI – The material that is used when a GI ray hits the surface.
Environment – The texture that will be used instead of the scene environment maps.
ID Number – Isolates objects as an R/G/B mask in the MultiMatte render elements.
ID Color – Allows you to specify a color to represent this material in the Material ID VFB render element.
Each material is assigned with an automatically generated ID Color.