Also named bump map
And parallax map
The 3D scene world must have light.
The target object must enable lighting.
Set material type of object to normal map type.
Tex0 is used as solid texture.
Tex1 is used as normal map texture.
Upgrade texture UV to support normal map.
Upgrade loaded texture image to let it bump.
Use planar mapping to make surface smooth.
Adjust surface param floating bits.
auto * object = new d_3d::normal_map_object; object->set_material_type(d_3d::normal_map_type); object->set_texture(0, tex0_image); tex1_image->make_normal_mapping(); object->set_texture(1, tex1_image); delete object; object = nullptr;
Tue Aug 12 12:01:44 AM UTC 2025