Support Topics
 Support topicsShade3D

Normal maps enhance the texture quality of virtual reality experiences

Maintenance and support service related information

In recent years, the metaverse, VR, and AR have become increasingly common, and opportunities to experience virtual environments using devices such as smartphones and tablets have increased.

The content expressed in these virtual environments is created using software such as 3D computer graphics, and Shade3D is also widely used by many users.

The content being modeled is created using polygon meshes that are compatible with 3DCG software, and it's constructed with the minimum necessary amount of information (low-polygon), including vertices, edges, and faces. Details and textures are represented through textures. A particularly important aspect is how to represent surface irregularities; Shade3D provides bump maps and normal maps for this purpose, and these need to be configured according to the specific application.

In this session, we will explain the differences between normal maps and bump mapping used in metaverse and VR environments

Normal maps and bump maps are..

In Shade3D, the normal map used for surface materials represents irregularities by changing the direction of the normals on the shape's surface, while a bump map is a mapping technique that uses a grayscale image to represent bumps and depressions.

Bump mapping represents surface irregularities by using grayscale values to represent "changes in surface height," while normal mapping uses 3-color RGB (red, green, blue) images where the direction of the normals is recorded, allowing for changes in the surface normals of the model and enabling a more precise representation.

In normal maps, the direction of the normals is represented with red for the left-right axis, green for the up-down axis, and blue for the vertical depth. In bump maps, darker areas in the image are rendered as recessed features.


Figure 1 shows images from left to right: a normal image, a bump map image, and a normal map image

Improved material representation for greater compatibility with other software

Bump maps are typically not used in applications such as the metaverse due to the computational cost involved in processing them.

On the other hand, normal maps have high compatibility with other software, and by combining them with UV mapping, it is possible to maintain their effect even when outputting in file formats such as glTF or FBX.

Furthermore, by utilizing normal maps, it is possible to easily represent irregularities such as scratches and grooves on the surface of a shape, which can reduce the amount of data required by eliminating unnecessary polygon meshes that would otherwise be needed to achieve the same effect.

A key feature of this system is its ability to facilitate seamless data exchange with other software and viewers.


Figure 2: UV unwrapping and normal map

Easily create normal maps

Creating normal maps can be difficult using image editing software, but by utilizing grayscale bump map images, you can easily create them in Shade3D.

Right-click (on Windows) or click while holding the Control key (on macOS) on the image displayed in the surface material information tab or the integrated palette information tab, and then select "Convert to normal map" from the menu that appears

You can convert an image to a normal map by specifying an arbitrary application rate in the "Image Editing" window and applying it.

The "Convert to Normal Map" function assumes that you have a bump map image, but Shade3D makes it easy to prepare such images. Furthermore, existing scene files can be easily reused in the metaverse.


Figure 3: Menu for converting to normal map Figure 4: Normal map conversion – after transformation

Finally

We publish various techniques and information related to Shade3D on the "Shade3D Knowledge Base". Please feel free to use it if you are unsure about operations or expressions.


(Featured in the Summer Issue of Up&Coming '24)

LOADING