Nhập/Xuất Khẩu các nút Tô Bóng (Import & Export of Node Shaders)

While Blender now only supports the advanced node-based shading model for its materials, most IO formats only support a basic shading model, similar to the legacy fixed pipeline of old GPUs.

Blender features a way to convert between those, which any add-on can use, but it is currently pretty basic still. Especially for exporting from Blender materials, the node system must follow some strict requirements.

Ghi chú

Currently, only the FBX and the 3DS IO add-on uses this method.

Mẹo

The glTF format uses a more detailed conversion to and from shader nodes.

Ghi chú

The wrapper is designed to be as symmetrical as possible (i.e. it is expected to give reproducible results across several import/export cycles).

../../_images/addons_import-export_node-shaders-info_example.png

A typical setup of shader nodes that can be exported.

Bố Trí Nút Hỗ Trợ (Supported Node Setup)

This is especially important for exporting, importing will simply re-generate a similar setup.

Note that the features listed below are those supported by the wrapper. Each add-on may have its own way to adapt them to its material system, some may not be handled by it, etc.

BSDF Nguyên Tắc (Principled BSDF)

The main shader must be a Principled BSDF. Only parameters defined there, and textures linked to it, will be exported.

Currently handled parameters:

  • Màu Cơ Sở

  • Cường Độ Lóng Lánh

  • Specular tint (no texture support)

  • Độ Nhám/Ráp/Rối (Roughness)

  • Kim Loại (Metallic)

  • IOR

  • Truyền Xạ (Transmission)

  • Phát Xạ (Emission)

  • Cường Độ Phát Sáng (Emission Strength)

  • Độ Đục (Alpha)

Ánh Xạ Pháp Tuyến (Normal Map)

If linked to the Normal input of the Principled BSDF node, the Normal Map node is also supported (including its texture obviously).

Chất Liệu (Textures)

Only Image textures using a UV mapping are supported. You may also use a Mapping node to move/rotate/scale it.