LoginSignup
0
2

More than 5 years have passed since last update.

Substance in UE4 1: Project overview, baking and setup

Last updated at Posted at 2017-03-23

Substance in UE4

使用バージョン

Substance Desinger 6.0.1
Substance Painter 2.5.1
Unreal Engine 15.1

プロジェクトファイルのダウンロード

Substance for UE4 Training Series
Substance、UE4のプロジェクトファイルがダウンロードできる
https://forum.allegorithmic.com/index.php/topic,3242.0.html

image

Substance in Unreal Engine 4 Tutorial: Introduction

Substance in Unreal Engine 4 Tutorial: Introduction
Substance in Unreal Engine 4 Tutorial: Introduction

1: Project overview, baking and setup

1: Project overview, baking and setup
(1: Project overview, baking and setup)

プロジェクトの作成

image

項目名
Graph Template Physically Based(Metallic/Roughness)
Graph Name archway
Size Mode Absolute
Width 2048px
Height 2048px
Format Relative to Parent

image

一旦プロジェクトを保存する
ファイル -> すべてを保存
image

名前はarchwayとする
image

FBXのインポート

プロジェクトを右クリック
Link -> 3D Mesh
image

substance_ue4_project.zip内のDataフォルダに格納されているFBXファイルをすべて選択して、開くボタンをクリック
image

Resourcesが追加される
image

Resourcesを右クリック -> New -> Folder
image

フォルダ名をmeshesに変更する
image

meshesにfbxをドラッグ&ドロップ
image

fbxをダブルクリックすることで3DViewにメッシュを表示することが出来る
image

Youtubeは4.5.1を使用しているので、メニューの項目が少し変わっている
image

6.0.1の場合
image

Tangent Space Pluginの設定
mkktspace.dll
image

Macroの作成

image

名前をspBakerに設定する
image

項目名
Color Map from Mesh id
Normal Map from Mesh normal
Curvature curvature
Ambient Occlusion Map from Mesh ambient_occrusion
Position position
World Space Normals world_space_normals

image

Default Resource Nameを 

$(mesh)_ $(spbaker)

に変更する
image

image

archway_bake_lowを右クリック
Bake model Infomationを選択する
image

画像の通り設定を行う
image

normalマップが作成される
ダブルクリックで画像の確認が出来る
image

同様の手順でdoor_bake,baking_bakeのnormalを作成する
image

normalを3種類作成する
image

作成したnormalの画像は以下の場所に保存されている
C:\Users(ユーザー名)\Documents\Allegorithmic\Substance Designer\6

image

Substance Painter

Substance Painter 2 を起動
image

File -> New
image

項目名
Template Unreal Engine 4(allegorithmic)
Mesh scifi_door_mm.fbx
Create a texture set per UDIM file チェックなし
Normal map format DirectX
Compute tangent space per fragment チェック
Document resolution 2048
Import mesh normal maps and baked maps for all materials archway_normal.png, backing_normal.png, door_normal.png

TemplateにUnrealEngine4を選択する
image

Meshにscifi_door_mm.fbxを選択する
image

Designerで書き出したnormalを追加する
image

プロジェクトを保存する
image

Viwer SettingsのEnviroment Mapの設定でEnviromentMapの表示設定が出来る

項目名 概要
Enviroment Map 使用するEnviroment Mapを選択する
Enviroment Exposure(EV) 使用するEnviromentの透明度 0:透明~100:不透明
Enviroment Exposure(EV) 使用するEnviromentのEV値(露出)
Enviroment Rotation 使用するEnviromentを回転させる
Enviroment Blur 使用するEnviromentにBlurをかける 0:くっきり~100:ぼやける

image

ImportするResourceをダウンロードする

動画でインポートしていたResource
image

Eat3d_Bolt_Alpha_70.jpgではなく、Eat3d_Bolt_Alpha_69.jpgを使用していた

Substance、UE4のプロジェクトファイルがダウンロードできる
https://forum.allegorithmic.com/index.php/topic,3242.0.html
substance_ue4_project.zipを解凍した中に入っているalphasフォルダにすべて入っている
(動画 5のdecalsで気づいた)

image

image

zbrush development resource site
http://www.badking.com.au/site/

plane_line_v.psdは自作できた
plane_line_h.psdも一緒に作成しておいた
以下からダウンロードできる
https://1drv.ms/u/s!AsyaT0uIFWqQgY5VQraCo1yr9TTl4A

動画の名前を検索する
image

動画の名前と一致する項目をクリック
image

ADD TO CARTをクリック
image

image

その後、アカウントを作成して、CheckOutをするとダウンロードすることが出来る

動画のファイルが一部収集できなかった
image

image

image

ImportするResourceにalphaを設定する
image

Import your resources to:にproject '(プロジェクト名)'を設定する
image

Next

Index

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2