Loading...
Loading...
Compare original and translation side by side
| Tool | Purpose |
|---|---|
| Create new PBR material with texture channels |
| Configure material properties |
| List all PBR materials |
| Get detailed material info |
| Import texture_set.json file |
| Assign texture to PBR channel |
| Export texture_set.json |
| 工具 | 用途 |
|---|---|
| 创建带有纹理通道的新PBR材质 |
| 配置材质属性 |
| 列出所有PBR材质 |
| 获取详细的材质信息 |
| 导入texture_set.json文件 |
| 为PBR通道分配纹理 |
| 导出texture_set.json |
| Channel | Description | Format |
|---|---|---|
| Base color/albedo | RGB texture |
| Normal map for surface detail | RGB (tangent space) |
| Heightmap for parallax/displacement | Grayscale |
| Metalness/Emissive/Roughness packed | R=Metal, G=Emissive, B=Roughness |
| 通道 | 说明 | 格式 |
|---|---|---|
| 基础颜色/反照率 | RGB纹理 |
| 用于表面细节的法线贴图 | RGB(切线空间) |
| 用于视差/位移的高度图 | 灰度图 |
| 金属度/自发光/粗糙度打包贴图 | R=金属度, G=自发光, B=粗糙度 |
create_pbr_material: name="stone_pbr", textures={
color: "stone_color",
normal: "stone_normal"
}create_pbr_material: name="stone_pbr", textures={
color: "stone_color",
normal: "stone_normal"
}create_pbr_material: name="gold_block", textures={
color: "gold_color",
normal: "gold_normal",
height: "gold_height",
mer: "gold_mer"
}create_pbr_material: name="gold_block", textures={
color: "gold_color",
normal: "gold_normal",
height: "gold_height",
mer: "gold_mer"
}configure_material: material_id="stone_pbr", config={
metalness_emissive_roughness: {
metalness: 0.0,
emissive: 0.0,
roughness: 0.8
}
}configure_material: material_id="stone_pbr", config={
metalness_emissive_roughness: {
metalness: 0.0,
emissive: 0.0,
roughness: 0.8
}
}configure_material: material_id="gold_block", config={
metalness_emissive_roughness: {
metalness: 1.0,
emissive: 0.0,
roughness: 0.3
}
}configure_material: material_id="gold_block", config={
metalness_emissive_roughness: {
metalness: 1.0,
emissive: 0.0,
roughness: 0.3
}
}configure_material: material_id="glowstone", config={
metalness_emissive_roughness: {
metalness: 0.0,
emissive: 1.0,
roughness: 0.9
}
}configure_material: material_id="glowstone", config={
metalness_emissive_roughness: {
metalness: 0.0,
emissive: 1.0,
roughness: 0.9
}
}assign_texture_channel: material_id="stone_pbr", channel="height",
texture_id="stone_heightmap"assign_texture_channel: material_id="stone_pbr", channel="height",
texture_id="stone_heightmap"assign_texture_channel: material_id="stone_pbr", channel="normal",
texture_id="stone_normal_v2"assign_texture_channel: material_id="stone_pbr", channel="normal",
texture_id="stone_normal_v2"import_texture_set: file_path="C:/packs/stone_texture_set.json"import_texture_set: file_path="C:/packs/stone_texture_set.json"save_material_config: material_id="stone_pbr",
output_path="C:/packs/textures/stone_texture_set.json"save_material_config: material_id="stone_pbr",
output_path="C:/packs/textures/stone_texture_set.json"list_materialslist_materialsundefinedundefinedget_material_info: material_id="stone_pbr"get_material_info: material_id="stone_pbr"undefinedundefinedundefinedundefinedundefinedundefinedcreate_pbr_material: name="stone", textures={color: "stone_color", normal: "stone_normal"}
configure_material: material_id="stone", config={
metalness_emissive_roughness: {metalness: 0, emissive: 0, roughness: 0.9}
}create_pbr_material: name="stone", textures={color: "stone_color", normal: "stone_normal"}
configure_material: material_id="stone", config={
metalness_emissive_roughness: {metalness: 0, emissive: 0, roughness: 0.9}
}create_pbr_material: name="gold", textures={color: "gold_color", normal: "gold_normal", mer: "gold_mer"}
configure_material: material_id="gold", config={
metalness_emissive_roughness: {metalness: 1.0, emissive: 0, roughness: 0.25}
}create_pbr_material: name="gold", textures={color: "gold_color", normal: "gold_normal", mer: "gold_mer"}
configure_material: material_id="gold", config={
metalness_emissive_roughness: {metalness: 1.0, emissive: 0, roughness: 0.25}
}create_pbr_material: name="glass", textures={color: "glass_color"}
configure_material: material_id="glass", config={
metalness_emissive_roughness: {metalness: 0, emissive: 0, roughness: 0.05}
}create_pbr_material: name="glass", textures={color: "glass_color"}
configure_material: material_id="glass", config={
metalness_emissive_roughness: {metalness: 0, emissive: 0, roughness: 0.05}
}create_pbr_material: name="lamp", textures={color: "lamp_color", mer: "lamp_mer"}
configure_material: material_id="lamp", config={
metalness_emissive_roughness: {metalness: 0, emissive: 1.0, roughness: 0.8}
}create_pbr_material: name="lamp", textures={color: "lamp_color", mer: "lamp_mer"}
configure_material: material_id="lamp", config={
metalness_emissive_roughness: {metalness: 0, emissive: 1.0, roughness: 0.8}
}configure_material: material_id="leaves", config={
subsurface_scattering: {
red: 0.3,
green: 0.8,
blue: 0.2
}
}configure_material: material_id="leaves", config={
subsurface_scattering: {
red: 0.3,
green: 0.8,
blue: 0.2
}
}undefinedundefinedundefinedundefinedlist_materialslist_materials