#author("2022-10-17T09:51:06+00:00","default:admin","admin")
***We have translated the half way through, please use Google Translate on the left to translate the rest. (October 17) [#ucd9371f]
#author("2022-10-19T05:08:22+00:00","default:admin","admin")
*''3D Textures'' [#v109cb23]
This section describes textures used in 3D models.
When using the PBR (Physics-Based Rendering) shaders available in Bakin, the following three texture maps should be prepared.
- Albedo Map Texture
- Normal Map Texture
- Mask Map Texture

*''3D テクスチャ'' [#v109cb23]
ここでは3Dモデルで使用するテクスチャについて解説します。
BAKINで使用可能なPBR(物理ベースレンダリング)シェーダーを使用する場合、
テクスチャーマップとして以下の3つを用意します。
・アルベド マップテクスチャー
・ノーマル マップテクスチャー
・マスク マップテクスチャー
詳しくは下項目で説明します。
Details are explained in the section below.

#contents

**''仕様:テクスチャ'' [#h5e0c045]
ファイル形式は、BMP形式とPNG形式が使用できます。
''BMP形式:画質の劣化が少ない''
''PNG形式:ファイルサイズを抑えられる''
という特徴がありますので、状況に合わせて選択してください。
**''Specifications: Textures'' [#h5e0c045]
BMP and PNG file formats are available.

また、テクスチャー名は各要素ごとに指定したサフィックスをつけておくと、モデル読み込み時に所定の場所へ自動で設定されます。
アルベドマップ:*****_albedo【マテリアルのアルベドマップに自動設定されます】
ノーマルマップ:*****_normal【マテリアルのノーマルマップに自動設定されます】
マスクマップ:*****_mask【マテリアルのマスクマップに自動設定されます】
(自動設定は、fbxモデル側にもテクスチャー設定が必要です)
''BMP format: Less deterioration in image quality''
''PNG format: file size can be reduced''

Please choose the one that best fits your situation.

The texture name can also be specified for each element with a specified suffix, which will automatically be specified in place when the model is loaded.

- Albedo Map: *****_albedo (The albedo map of the material will be automatically specified.)
- Normal Map: *****_normal (The normal map of the material is automatically specified.)
- Mask Map: *****_mask (The mask map of the material is automatically specified.)

(Automatic setting also requires texture settings on the fbx model side.)
#br
下のタンスモデルのテクスチャーを例に、それぞれのテクスチャーについて説明していきます。
We will discuss each texture using the dresser model texture below as an example.

#ref(3Dテクスチャ1.png)
#br

-''アルベドマップ''
-''Albedo Map''
#ref(3Dテクスチャ2.png)
#br
アルベドマップは物体のベースカラーとなるテクスチャです。
物体の陰影やハイライトは描きこまないテクスチャで、
陰影やハイライトは、ノーマルマップやマスクマップにレンダリング設定が合わさることで表現されます。
また、α抜きを使用する場合はアルベドマップのアルファチャンネルにマスクを設定してください。
The albedo map is a texture that serves as the base color of the object.
Object shadows and highlights are textures that are not drawn in, and shadows and highlights are represented by a normal map or mask map combined with rendering specifications.
Also, when using alpha extraction, specify a mask for the alpha channel of the albedo map.

-''ノーマルマップ''
-''Normal Map''
#ref(3Dテクスチャ3.png)
#br
ノーマルマップによって疑似的にモデル表面の凸凹を表現することができます。
ライトの角度が変わるとハイライトの位置なども変わるようになっています。
Normal maps can be used to simulate the surface roughness of the model.
As the angle of the light changes, the position of the highlights, etc., also changes.

-''マスクマップ''
BAKIN で扱うマスクマップテクスチャーは、
エミッシブ、ラフネス、メタリック、(+スペキュラ)を1枚にまとめたものとなっています。
-''Mask Map''
The mask map textures handled by Bakin are emissive, roughness, metallic, (+ specular) all in one.
#ref(3Dテクスチャ4.png)
#br

マスクマップテクスチャーのRGB(A)各チャンネルにエミッシブ、ラフネス、メタルネスを格納して作成してください。
Rチャンネル:エミッシブマスク(自己発光の強さに使用します。白色でマスクされた部分が光ります。色と1以上の発光量はマテリアルプロパティで別途設定します)
Gチャンネル:ラフネスマップ(表面のザラザラ感を表現するマップで、0(黒)でツルツル、1(白)でマットな質感になります)
Bチャンネル:メタルネスマップ(金属を表すマップで、0(黒)でプラスチック、1(白)で金属といったイメージです)
アルファチャンネル:スペキュラマップ(光沢の強さを表すマップで、反射光やハイライトなどの強さを設定します)
Create a mask map texture with emissive, roughness, and metalness stored in each RGB(A) channel of the mask map texture.
- ''R channel'': Emissive mask(Used for the intensity of self-emission. The area masked by white will glow. The color and emission intensity above 1 are specified separately in the material properties.)
- ''G channel'': Roughness map(This map expresses the roughness of the surface. 0 (black) gives a smooth surface, and 1 (white) gives a matte texture.)
- ''B channel'': Metal map (The map represents metals, with 0 (black) representing plastic and 1 (white) representing metal.)
- ''Alpha channel'': Specular map (the map of gloss intensity, specifying the intensity of reflected light, highlights, etc.)
#ref(3Dテクスチャ5.png)
#br

**''テクスチャTIPS'' [#vb99448b]
''アルベドテクスチャの設定''
アルベドテクスチャとして使用する画像の「SRGB設定」は必ずオンにしてください。
**''Texture Tips'' [#vb99448b]
-''Albedo Texture Settings''
Be sure to turn on the "SRGB Setting" for images to be used as albedo textures.
#ref(3Dテクスチャ6.png)
#br

オフの状態だと意図しない見た目となりますのでご注意ください。
Please note that this will have an unintended appearance if it is turned off.
#ref(3Dテクスチャ7.png)
#br

''ノーマルマップを使用する場合''
ノーマルマップが設定可能なシェーダーを使用する場合、
fbxエクスポート設定で、「タンジェント空間」を必ずONにしてエクスポートしてください。
(OFFの場合、正しく表示されません)
-''When Using Normal Maps''
When using shaders with configurable normal maps, be sure to turn on "Tangent Space" in the fbx export settings.
(If OFF, it will not be displayed correctly.)
#ref(3Dテクスチャ8.png)
#br

Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes