Blend mode | Commutativity | Formula | Addtl .info |
Darken | commutative | min(Target,Blend) | |
Multiply | commutative | Target * Blend | |
Color Burn | non-commutative | 1 - (1-Target) / Blend | |
Linear Burn | commutative | Target + Blend - 1 | |
Lighten | commutative | max(Target,Blend) | |
Screen | commutative | 1 - (1-Target) * (1-Blend) | |
Color Dodge | non-commutative | Target / (1-Blend) | |
Linear Dodge | commutative | Target + Blend | |
Overlay | non-commutative | (Target > 0.5) * (1 - (1-2*(Target-0.5)) * (1-Blend)) + (Target <= 0.5) * ((2*Target) * Blend) | A combination of multiply and screen.Also the same as Hard Light commuted |
Soft Light | non-commutative | (Blend > 0.5) * (1 - (1-Target) * (1-(Blend-0.5))) + (Blend <= 0.5) * (Target * (Blend+0.5)) | A combination of multiply and screen(The formula is only approximate) |
Hard Light | non-commutative | (Blend > 0.5) * (1 - (1-Target) * (1-2*(Blend-0.5))) + (Blend <= 0.5) * (Target * (2*Blend)) | A combination of multiply and screen. Also the same as Overlay commuted |
Vivid Light | non-commutative | (Blend > 0.5) * (1 - (1-Target) / (2*(Blend-0.5))) + (Blend <= 0.5) * (Target / (1-2*Blend)) | A combination of color burn and color dodge |
Linear Light | non-commutative | (Blend > 0.5) * (Target + 2*(Blend-0.5)) + (Blend <= 0.5) * (Target + 2*Blend - 1) | A combination of linear burn and linear dodge |
Pin Light | non-commutative | (Blend > 0.5) * (max(Target,2*(Blend-0.5))) + (Blend <= 0.5) * (min(Target,2*Blend))) | A combination of darken and lighten |
Difference | commutative | | Target - Blend | | |
Exclusion | commutative | 0.5 - 2*(Target-0.5)*(Blend-0.5) |
'메뉴얼 > 아무거나 메뉴얼' 카테고리의 다른 글
(링크)[Gamasutra] 서적 발췌-버텍스 텍스처 변위를 사용한 사실적인 물 렌더링 (0) | 2014.11.24 |
---|---|
(펌)블렌드 모드 튜토리얼 (0) | 2014.08.07 |
(펌)HLSL함수 일람 (0) | 2014.03.24 |
[HLSL]tex2Dgrad사용법 (0) | 2013.05.14 |
(자작)[3DMAXS_Script]간단히 바이패드 왼발 바닥(z축)0점으로 이동하는 스크립트 (0) | 2013.04.01 |