티스토리 뷰

Cocos2d-x 파티클 시스템을 추가할 때 plist의 key값에 따라 블랜딩 방식이 지정된다.


blendFuncDestination과 blendFuncSource에 의해 결정되는데 이 값에 따른 블렌딩 함수는 다음과 같다.



blendFuncDestination = 1

blendFuncSource = 770

->ADDITIVE 


blendFuncDestination = 771

blendFuncSource = 770

->ALPHA_NON_PREMULTIPLED 


blendFuncDestination = 771

blendFuncSource = 1

->ALPHA_PREMULTIPLED 


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/02   »
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
글 보관함