콘텐츠로 건너뛰기

About this book

Structure and goals of the book.
这本书的结构和目标

这本书不仅面向刚开始接触SD和SP的美术,还面向已经在实际工作中使用的中上级美术。
This book is not only for the fine arts who are new to SD and SP, but also for the intermediate and advanced arts that have been used in actual work.

除了用单纯的节点制作贴图的方法外,还包含次时代游戏工程或近期手游开发相关各种学习内容。
In addition to the simple method of making textures with nodes, it also includes various learning content related to game engineering of the next generation or recent mobile game development.

有些是作者在中国开发公司上班时用的工程,有些内容是改善了 Substance 中国大会,UNITE 等地方发表过的内容。
Some are projects that the author used when working at a Chinese development company, and some are improvements that have been published in Substance China, UNITE and other places.

这本书最根本的目标是为了扩大自己可以研究的领域。此内容为了让读者充分理解实时渲染的常识,法线贴图的演算等内容,没有写得很乏味。在写这本书的时候,没有为了写书而写案例,而是用实际工作的可视性案例,不加修饰的叙述出来。

The fundamental goal of this book is to expand the fields that one can study. In order to allow readers to fully understand the common sense of real-time rendering, the calculation of normal maps, etc., it is not tedious. At the time of writing this book, no case was written for the sake of writing the book, but the visual case of the actual work was described without modification.

About terminology 关于用语标记

比如会写成“使用SD的Texture baker”
Substance Painter 也会写成 SP。
比如会写成“可以做SP专用笔刷”
内容里的英文用语只用英文写出来,而不是用外来发音形式。
比如“SD或者SD shader语言是用GLSL写的。”会写成“SD或者SD Shader Language 是用GLSL写的”。
电脑用语的中文单词为了便于理解会用括号的形式标注英文。
比如会写成“属性定义(Define)”,或者像“转换成 Normal map”这种英文混用文章。
这本书是在  Windows 10 环境写的。
没有用SD 或者 SP 的 MAC(OSX) 环境快捷键。
所有 Filter 的名字会用原英文名字。
写书的过程中更新的 Filter 功能或追加功能会以附录的形式添加在书的后页。

For example it would be written as “Texture baker using SD”
Substance Painter is also written as SP.
For example, it would be written as “can be used for SP brushes”
The English words in the content are written only in English, not in foreign pronunciation.
For example, “SD or SD shader language is written in GLSL.” Would be written as “SD or SD Shader Language is written in GLSL.”
Chinese words in computer terms are written in English in parentheses for easy understanding.
For example, it will be written as “Define” or a mixed English article like “Convert to Normal map”.
This book was written in a Windows 10 environment.
There are no MAC (OSX) environment shortcuts for SD or SP.
All Filter names will use the original English names.
The updated Filter function or additional function during the writing of the book will be added as an appendix on the back page of the book.

About software version
关于软件版本

这本书是在 2017年10月开始写的,是以当时的软件版本为基准。

About Alleocrithmic Substance Desioner 
Allegorithmic Substance Designer (x64) 
Editor Version 
2017.1.3 build 474 commit bfa8feaO Release (2017-08-31) 
Cooker Format Version 
3. O. O commit OXOOOOOOOO 
Engine Version [Direct3D 10] 
6. O. O commit Oxdca0156e (2017-08-31) 
SUBSTANCE 
DESIGNER 
0 2017. Allegorithmic SAS. All Rights Reserved 
Ok

SD Version information 是基于 2017.1.3 build 474 开始写的。

C). Substance Painter 
Substance Painter 
Version 2017.310 
Copy to clipboard 
Please report bugs and enhancement ideas. 
wnnalleqorithmicmcom

SP Version 是基于 2017.3.0。
SP Version is based on 2017.3.0.

To learn how to install software.
为了学习安装软件。

SD 和 SP 的开发商 Allegorithmic 提供免费体验30天的版本。
Allegorithmic, the developer of SD and SP, offers a free 30-day trial.

DISCOVER*OFTWARE 
CONTENT 
LEARN 
COMMUNITY 
unity 
COMPANY 
DOWNLOAD / BUY 
O LOGIN 
SUBSTANCE 
SOURCE 
UNREAL 
ENGINE 
SUBSTANCE SOURCE FLOWS DIRECTLY INTO UNITY AND UNREAL ENGINE 4 
Scene 
E ic Games

在 Allegorithmic 官网 ( http://www.allegorithmic.com/ ) 上创建账号。

Create an account on Allegorithmic’s official website (http://www.allegorithmic.com/).

allegorithmic 
DISCOVER 
SOFTWARE 
CONTENT 
LEARN 
COMMUNITY 
COMPANY 
DOWNLOAD / BUY 
LOG IN 
An Allegorithmic account allows you to use 
Allegorithmjc products and services, get 
content from Substance Share and Substance 
Source, and participate in the Allegorjthmjc 
community. 
CONNECT WITH FACEBOOK 
CONNECT WITH GOOGLE+ 
OR 
LOGIN TO YOUR ACCOUNT 
Username or e mail address 
Password 
• 
Remember me 
LOG IN 
Forgot your password? 
OR 
I DON'T HAVE AN ACCOUNT 
Create an account

点击 LOG IN  就会弹出以上账号生成页面。如果有 Facebook 或 Google 账号就可以关联账号,如果要生成新账号的话点击下方的
Create an account 后再转到生成账号页面。

Click LOG IN and the above account generation page will pop up. If you have a Facebook or Google account, you can link accounts. If you want to generate a new account, click the
After creating an account, go to the Generate Account page.

CONNECT WITH FACEBOOK 
CONNECT WITH GOOGLE* 
OR 
CREATE AN ACCOUNT 
Username 
E-mail address 
Confirm e-mail address 
Password 
Password strengtn: 
Confirm password 
Passwords matcn 
Are you using Substance as a professional ? 
@ No 
O 
Yes 
I want to receive news about Allegorithmic 
I agree to the website Terms of use and 
Privacy Policy 
I'm not a robot 
CREATE NEW ACCOUNT

【新账号生成页面】 输入简单的信息就可以生成账号。
[New account generation page] Enter simple information to generate an account.

生成账号后登录,到 DOWNLOAD / BUY  页面后下载30天免费体验版安装。
Log in after generating an account, and go to the DOWNLOAD / BUY page to download the 30-day free trial version installation.

allegotRbrniGR 
SOFTWARE 
CONTENT 
LEARN 
COMMUNITY 
COMPANY 
DOWNLOAD / BUY 
Al' Substance software IS fully featured, regardless of the license type. 
Choose the category which fits your occupation or organization. 
DOWNLOAD 
TRY SO DAYS FOR FREE 
SUBSTANCE 
m INTER 
SUBSTANCE 
DESIGNER 
INDIE LICENSE 
REVENUE UNDER $100K 
ENTERPRISE 
PRO LICENSE 
LICENSE 
REVENUE SIOOK-$IOOM 
REVENUE ABOVE 500M 
Substance Painter 
Substance Painter 2017.3 
Try Substance Painter for 30 days! 
Substance Designer 
Substance Designer 2017.1 
Try Substance Designer for 30 days! 
EDUCATION 
LICENSE 
SCHOOLS & STUDENTS 
Download 
Download 
Download 
Download 
Download 
Download
SUBSTANCE 
Substance 
Always use the latest versions of Substance Painter, 
Substance Designer, Substance 82M and access to 
Substance Source (30 assets to download every month). 
Possibility to own the software. 
Read the Substance FAQ 
$19_90/month

Substance 软件系产品支持按月份支付费用后使用。
购买月使用权限后可以每个月从 Allegorithmic 更新 30多个 SD 或 SP 资源。

Substance software is a product that is supported for a monthly fee.
After purchasing monthly usage rights, you can update more than 30 SD or SP resources from Allegorithmic every month.

install software.
安装软件。

Installing Software.

O. 
Welcome to the Substance 
Painter Setup Wizard 
This will install Substance Painter version 2017.3. O on your 
computer 
It is recommended that you dose all other applications before 
con tinuing 
Click Next to continue, or Cancel to exit Setup. 
SUBSTANCE 
FDA INTER 
Next >

选 Next 下一步。

Setup - Substance Painter 
License Agreement 
Please read the following imguyrtant information before continuing. 
Please read the following License Agreement. You must accept the terms of this 
agreement before contnuing with the installation. 
ALLEGORITHMIC GENERAL TERMS & COND 
Last updated - September 21, 2017 
ONS 
accept all the terms and conditons fr om Allegori thmic 
I no accept' 
Next >

在协议页面打钩同意选项后点击下一步。
Check the agreement option on the agreement page and click Next.

Setup - Substance Painter 
License Agreement 
Please read the following imguyrtant information before continuing. 
Please read the following License Agreement. You must accept the terms of this 
agreement before contnuing with the installation. 
ALLEGORITHMIC GENERAL TERMS & COND 
Last updated - September 21, 2017 
ONS 
accept all the terms and conditons fr om Allegori thmic 
I no accept' 
Next >

建议储存在基本路径下。如果大家的电脑 C 盘是 SSD,Allegorithmic 的软件建议尽量安装在 SSD 上。
SP  或 SD 的滤镜和节点连接后的部分效果会储存成 Cache , 通常 Cache 用高速硬盘会好点。

It is recommended to store under the basic path. If your computer’s C drive is an SSD, Allegorithmic’s software recommends installing the SSD as much as possible.
Some of the effects of the SP or SD filters and nodes are stored as a cache. Usually, high-speed hard drives are better for the cache.

Select Additional Tasks 
Which additional tasks should be performed? 
Select the additonal tasks you would like Setup to perform while installing Substance 
Painter, then dick Next. 
Addi bonal Cons: 
Z] Create a desktop icon 
Next >

在桌面生成快捷键,然后下一步。

Generate shortcuts on the desktop, and then the next step.

C). Setup - Substance Painter 
Completing the Substance Painter 
Setup Wizard 
Setup has finished installing Substance Painter on your 
computer The applicaton may be launched by selecting the 
installed icons. 
Click Finish to exit Setup. 
Z] Launch Substance Painter 
SUBSTANCE 
FDA INTER

经过自动安装过程后 SP装好了。如果安装了老版本的 SP ,这个版本就自动 Uninstall。

After the automatic installation process, the SP is installed. If an older version of SP is installed, this version is automatically uninstalled.

Substance Psinter 2017' a 
File Edit Mode View 
Plugins 
Help 
q unity 
Search 
0001"" v 
aoaaasa 
Dirt 02 
Dirt 04 
TextureSet List 
Properties 
TextureSet 
ndo stack 
X 
Display 
P roject 
Alphas 
Grunges 
Procedurals 
Textures 
Hard Surfaces 
Filters 
Brushes 
Particles 
Tools 
Materials 
Smart materials 
Smart masks 
Environments 
Color profiles 
3ruket Bush Dir-be _ Bush _ 
3 Make r 
paint_ paint_ 
LOL@i 
IGØ 
3 ush p*nt_ Bush p*nt_ Bush nt_ 
01 
02 
03 Crus Blocky Crus r 
Circle Sit Circle Spit Circle Circle Spiral Circular Spi_ Spi_ 
Crus For&_ CrusHalf Me&_ Me&_ Me&_ Crus Crus 
r Sick 
C Thin Diagonal Dr. _ 
paint_ 
Dirt 01 
Substance 
Suesf•rce SLßgtance Substance Substance 
[GPLlIssuesCheck] The current T DR (GPO hang recovery) delay is Ion: ss. Substance Painter can be interrupted by the OS "hen doing a long computation. See https://support.allegorithmic.com/documentation/dispfr

打开确认。这是打开空白工程的 SP 页面。因为作者已经激活了软件,所以跳过了 Allegorithmic 原有的 3种认证窗。通常第一个认证激活选项是30天体验版。

Open confirmation. This is the SP page for opening a blank project. Because the author has activated the software, Allegorithmic’s original 3 types of authentication windows have been skipped. Usually the first certification activation option is the 30-day trial version.

Download example data.
下载案例文件。

GIT 的使用说明参考以下连接,可以简单设置后使用。
https://github.com/
https://desktop.github.com/

The instructions for using GIT refer to the following connection, which can be used after simple setting.
https://github.com/
https://desktop.github.com/

SD 和 SP 的案例是基于 Substance designer 2017 和 Substance painter 2017 制作并储存的。如果案例使用的 Filter 是用 Substnace share 获取的话,为了保护著作权只提供 Substance share 的下载链接。

SD and SP cases were created and stored based on Substance designer 2017 and Substance painter 2017. If the filter used in the case is obtained using Substance share, only the download link of Substance share is provided for copyright protection.

制作 Substance 专用 Shader

这本书使用了 GLSL 语言来解说 Shader 的编写和修改。SD 或者 SP 的 Shader Language 是用 GLSL 写的。为了定义(Define)外部属性,和Shader通信,使用 XML 类型的 Container 。这本书对除了 GLSL 以外的 Unity Surface shader 语法或 Context 只会简单说明,但是会在索引提供可以参考或者可以学习的更正确的文献。
Shader 编辑工具会用 Visual studio Code 。
Visual studio Code 是微软提供的免费 IDE。
https://code.visualstudio.com/
写 Shader 代码时,为了 Syntex highlighting 要安装扩展功能。
下载Shader 代码扩展功能。
https://marketplace.visualstudio.com/items?itemName=slevesque.shader

Visual Studio I Marketplace 
Visual Studio Code > Languages > Shader languages support forVS Code 
Shader languages support for VS Code 
slevesque I & 32,032 installs I (5) 
Syntax highlighter for shader language (hlsL glsl, cg) 
Trouble Installing? e 
Install 
Overview Q & A 
vscode-shader 
Rating & Review 
issues O open license MIT License installs 32032 
Syntax highlighter for shader languages 
• HSLS - High-Level Shading Language 
• GLSL OpenGL Shading Language 
Cg - C for Graphics 
chat on gitter

This book uses the GLSL language to illustrate the writing and modification of Shaders. The Shader Language for SD or SP is written in GLSL. In order to define external attributes and communicate with Shader, use XML type Container. This book will only briefly explain the syntax and context of Unity Surface shader other than GLSL, but it will provide more accurate references that can be referenced or learned in the index.
Shader editing tools use Visual studio Code.
Visual studio Code is a free IDE provided by Microsoft.
https://code.visualstudio.com/
When writing shader code, install extensions for Syntex highlighting.
Download Shader code extensions.
https://marketplace.visualstudio.com/items?itemName=slevesque.shader

直接下载 Shader languages support for VS Code 安装,或者在 VSCODE 里直接安装。

Download Shader languages support for VS Code directly, or install directly in VSCODE.

unstandard.shader 
glslx-vscode 0.011 
A language service for GLSLX 
Shader languages sup... 32K s 
Syntax highlighter for shader language (... 
Shader Toy 010 
Live preview of GLSL shaders similar to s... 
HEIST - Html External In „ 
. $ 472 
Automatically imports shader files (glsl) f... 
— Shader languages support for VS Code x 
UnStandardShaderGUl.cs 
Shader languages support for VS Code 
slevesque.shader 
slevesque 32,032 
Syntax highlighter for shader language (hlsl, glsl, cg) 
Vinceu- Eigebrecht 
Grimoire.js Helper 012 
+ 655 
Grimoire.js Helper extension. Syntax high.. 
ShaderlabVSCode(Fræ) I.o. +2K S 
Visual Studio Code Plugin for Unity Shad... 
am lovey 
7104 
vscode-shader 
Syntax highlighter for shader languages 
HSLS High-Level Shading Language 
• GLSL - OpenGL Shading Language 
Cg - C for Graphics

点击 VSCODE 扩展按钮,在搜索栏输入 glsl 就可以安装 Shader languages support for VS Code 。

Click the VSCODE extension button and type glsl in the search bar to install Shader languages support for VS Code.

태그:

댓글 남기기

%d 블로거가 이것을 좋아합니다: