(2023/04/18)
下記の処理を他の命令アクションへの対応

(2023/04/16)
DX11のPremultiplyAlpha再調整

(2023/04/09)
他の描画オブジェクトへの透明ピクセル部分に影響が出る問題を修正

(2023/01/31)
プロパティ名が正しく表示されていなかった部分を対応
zipファイルもリンクが切れていましたね…

(2022/11/15)
SurfaceオブジェクトがDirectX11の乗算済みアルファモードで動作しないという話を頂き
その不具合の検証と修正を行いました。


Surfaceオブジェクトの乗算済みアルファモード対応版
Extension



以下、変更点になります


The updated part in rSDK is ------------ Surface.h Cncy.h cncr.h mmfs2.libs ------------ Runtime.cpp No runtime changes, keep original Function.cpp -- Line 82 -------------------------------------------------------------------------------- // ------------------------------------------------------------------------ ADD LPRH rhPtr = rdPtr->rHo.hoAdRunHeader; if ((rhPtr->rhApp->m_pHdr2->dwOptions & 0x40000000) != 0) { source->DemultiplyAlpha(); dest->DemultiplyAlpha(); } // ------------------------------------------------------------------------ Line.426 // ------------------------------------------------------------------------ if ((rhPtr->rhApp->m_pHdr2->dwOptions & 0x40000000) != 0) { source->PremultiplyAlpha(); dest->PremultiplyAlpha(); } // ------------------------------------------------------------------------ Line.438 // ------------------------------------------------------------------------ if ((rhPtr->rhApp->m_pHdr2->dwOptions & 0x40000000) != 0) { source->PremultiplyAlpha(); dest->PremultiplyAlpha(); } // ------------------------------------------------------------------------ -------------------------------------------------------------------------------- Main.cpp The following process is interspersed at the points where drawing or pixel fiddling is performed. There may be some ACTION on the Main.cpp side that you have missed. LPRH rhPtr = rdPtr->rHo.hoAdRunHeader; if ((rhPtr->rhApp->m_pHdr2->dwOptions & 0x40000000) != 0) { TargetImg->DemultiplyAlpha(); } if ((rhPtr->rhApp->m_pHdr2->dwOptions & 0x40000000) != 0) { TargetImg->PremultiplyAlpha(); } -------------------------------------------------------------------------------- Basically, support for PremultiplyAlpha works by It works by decoding, processing, and then re-encoding. Difference only https://github.com/clickteam-plugin/Surface