半透明の設定には、OEMC_Micro3D_Render_setAttribute( Render* render, hi_sint32 attribute ) の第2引数attribute の値にM3D_BLENDを論理和で設定します。
サンプルでは決定キーを押す度にドラゴンの体の半透明の有効・無効が切り替わります。
/**
* 半透明の設定
*/
static void setBlend( void )
{
* 半透明の設定
*/
static void setBlend( void )
{
hi_sint32 attribue_mask = 0;
if( isHalf ){
OEMC_Micro3D_Render_setAttribute( &render, attribue_mask );
}if( isHalf ){
attribue_mask |= M3D_BLEND;
}OEMC_Micro3D_Render_setAttribute( &render, attribue_mask );
半透明の有効(左)・無効(右)

