Bump map shader

../../../_images/heightmap.jpg

From left to right : original material without normal shader, bump map image, material with the bump map shader

Warning

The bump map shader in Ocean 2016 was renamed to Height map shader. This shader is a new one, more coherent with traditional bump mapping.

Normal shader This shader applies the traditional bump mapping CGI algorithm

Please keep in mind that only the normals are affected, but the surface is not actually displaced. This leads to physical inconsistencies if the shaded normal is very different from the geometric normal, for instance the angle of incidence may be greater than 90°. Therefore, this should be used for small distortion angles only.

Children Nodes

Image image

The bump map image

Parameters

name

type

description

multiplier

real

The amount of bump mapping

uvscale

real

The UV coordinates scaling factor. Scales the texture spatially over the geometry

Ocean XML 6.1 example

<normalshader type="bumpmap" name="bump" multiplier="0.3" uvscale="1">
     <image type="file" name="image" path="paper.jpg"/>
</normalshader>