|
SubShader
|
||
|
기본 |
CGPROGRAM |
중요하지만 이름이 없음. |
|
//
Physically based Standard lighting model, and enable shadows on all light
types |
설정부분 스니핏(snippet) |
|
|
sampler2D _MainTex; |
중요하지만 이름이 없음. |
|
|
struct
Input |
Input이라는
구조체(structure)입니다. |
|
|
half
_Glossiness; |
중요하지만 이름이 없음. |
|
|
void
surf (Input IN, inout SurfaceOutputStandard o) |
surf라는
이름의
함수
영역. |
|
|
ENDCG |
중요하지만 이름이 없음. |
'Unity > Surface Shader' 카테고리의 다른 글
| texture (0) | 2020.05.16 |
|---|---|
| CGPROGRAM03 (0) | 2020.05.16 |
| CGPROGRAM02 (0) | 2020.05.16 |
| Propeties (0) | 2020.05.16 |
| 기초 (0) | 2020.05.16 |