Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 와콤 feel 드라이버
- 언리얼 뷰포트 움직임
- mx150
- legacy lightmap
- 애프터이펙트 aftereffect ram preview no sound 소리 안날때
- 노트북 아답터
- unity4
- 언리얼5 화면 움직임
- 유니티
- 노트북 그래픽 카드
- 언리얼5
- 3dsmax
- 3ds max #spring #스프링
- 언리얼 한글
- shader
- 랜더러
- gtx1050
- 언리얼 메뉴 한글
- legacy lightmapped
- msi gf63
- 로스트 아크
- 요가북
- wacom feel
- Unity2018
- gitea
- unity5
- 언리얼 팁
- 언리얼 pan
- 내장 그래픽
- Unreal5
Archives
- Today
- Total
애니메이터
[Shader] Surface shader의 standard한 Output 구조체들 본문
struct SurfaceOutput
{
fixed3 Albedo; // diffuse color
fixed3 Normal; // tangent space normal, if written
fixed3 Emission;
half Specular; // specular power in 0~1 range
fixed Gloss; // specualr intensity
fixed Alpha; // alpha for transparencies
};
Unity5 버젼에서는 다음과 같은 라이팅 모델을 쓰고 있다.
struct SurfaceOutputStnadard
{
fixed3 Albedo; //
fixed3 Normal; //
half3 Emission;
half Metallic; // 0 = non metal, 1 = metal
half Smoothness;// 0 = rough, 1 = smooth
half Occlusion;// (default 1)
fixed Alpha; // alpha for transparencies
};
struct SurfaceOutputStandardSpecular
{
fixed Albedo; // diffuse color
fixxed Specular; // specular color
fixed Normal; // tangent space normal, if written
half3 Emission;
half Smoothness;
half Occlusion;
fixed Alpha;
}