Reference Cinema 4D Cinema 4D Prime Material Manager Material Properties / Material Editor
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Material

Basic Color Diffusion Luminance Transparency Reflectance Environment Fog Bump Normal Alpha Glow Displacement Illumination Editor Assign

Bump

General information about bump maps

The settings on this page enable you to simulate bumps.

Figure 2 shows an even surface viewed from the side.

Figure 2.

The surface has a uniform brightness. However, if you use a bump map for the same surface, Cinema 4D interprets the brightness values of the picture as height values for the surface (Figure 3).

Figure 3.

These height values are converted into a profile, whose height affects the inclination of the normal vectors. Although the surface is actually smooth, through the change in the normal vectors an apparently three-dimensional surface with a bump-like structure is created at render time.

Various ways of creating structure

There are basically four ways in which structure can be added to a surface for rendering.

Slight differences between bump maps and Normals but a dramatic difference in quality between parallax and subpolygon displacement. Increasing render times/quality from left to right.

The following methods are available, listed in ascending order with regard to render time/quality (whereby the first three use render tricks and the subpolygon displacement actually raises/sinks the surface, thus offering the most realistic-looking results):

What they all have in common is that they all evaluate a texture’s grayscale valuse to define height and depth. So when should which method be used?

Generally speaking, the following rule of thumb can be used:

However, you should always experiment to achieve the best result for your scene. As always, you have to find the right compromise between render quality and render time.

Parameters

Strength [-1000000..1000000%]

The strength of the bumps. The higher the value, the rougher the surface. If you move the slider to the left, you can choose negative values to reverse the effect of the bump map — bright pixels then cause the material surface to indent while darker pixels elevate the height of the surface.

You can enter values much higher than 100%. High values are especially useful when using MIP or SAT mapping, because these interpolation types tend to flatten the surface slightly.

RELEASE 18

Prallax Effect

Parallax mapping is a new feature included with Cinema 4D R18. It provides approximately the same quality as subpolygon displacements but without having to subdivide the object internally. This reduces render times dramatically. Internally, Parallax mapping "bends" the UV coordinates to feign elevation on a surface. The color texture is distorted in a manner that makes its perspective distortion appear to be correct (e.g., the black stripes at the right the image above).

Parallax mapping can also be used for subtle effects due to the vivid results it produces (note the realistic-looking highlights along the stone edges).

However, since it does not alter geometry, some restrictions have to be accounted for when usung Parallax mapping:

  • Object silhouettes appear in the shape of the actual geometry, which means that simulated modifications in height along the edges will simply be omitted:
  • Elevations will not cast shadows
  • Render effects such as reflections, refractions or Ambient Occlusion will be rendered incorrectly or not at all where elevations occur
  • A texture can be distorted at the edges where very high elevations occur
  • Only vertical elevations can be simulated (whereas subpolygon displacement can also simulate horizontal displacement)
  • Parallax mapping works with UV coordinates. Shaders that have no UV coordinates will be rendered incorrectly (e.g., a Noise shader should be set to Space UV (2D)).

Parallax settings

Imagine Strength and Parallax Offset as separate sliders: Strength defines the shading based on the bump effect and Prallax Offset calculates the texture distortion. The best results can be achieved when both settings are defined, i.e., bump and Parallax mapping are implemented simultaneously.

Parallax Offset [-∞..+∞]

Use this setting to define the strength of the effect, i.e., the degree with which the UV coordinates should be moved to feign an elevated structure. Make sure to adjust the Strength setting (it most often has to be increased; it must also be not equal to 0 in order to calculate a parallax effect) to produce convincing results.

Negative values can also be used to reverse the effect: raised regions will be sunken and vice-versa.

If the value is set to 0, no Parallax Mapping will take place. Bump mapping will take place instead.

Parallax Samples [2..2147483647]

At left, Parallax Samples too small, at right sized correctly.

Normally, these values do not have to be modified. However, if Parallax Offset were set very high, artifacts, as shown at the left of the image above, would appear. To offset this, increase the Parallax Samples value. Higher values will result in correspondingly longer render times.

MIP Falloff

You can strengthen the MIP/SAT mapping effect when using bump mapping by enabling MIP Falloff. The bump mapping is then reduced the further the surface is from the camera.

MIP Falloff disabled (left) and enabled (right).

Texture

Here an image texture or a 2D shader can be defined. Refer to the Textures chapter for details.

You must use a texture with this channel. It is only from the grayscales in this image that the bump map (a height or relief map) is calculated.

Example

It is very important to have a fitting Shader in the Bump channel (in this example, logically, a Water Shader) in order to make an effect look better. In the example above, the large waves are created with the help of Cloth (Edges are fixed and Wind was both applied to the Cloth tag itself and as a separate Wind Object). Since such smooth waves can only reproduced in a laboratory setting, the Water Shader (insert center) in the Bump channel is used to create the typical "mini waves", which alleviates you from modeling them.