
By default, the Neuz does not support Alpha/Opacity animations within SFX for meshes.
To fix this, apply the code below.
ATTENTION:
There is no guarantee that those source changes work 100% on your server files and i will NOT provide any support on how to add those. You are responsible on your own to add the given code properly according to the guides posted!
Without the source changes of the corresponding Features, those Features will NOT work for you!
Open your ..\_Common\sfxbase.cpp
Go into the following function: CSfxPartMesh::Render(D3DXVECTOR3 vPos, WORD nFrame, FLOAT fAngle, D3DXVECTOR3 vScale) Scroll a bit down until you see the following:
pMesh->Render(CSfxMng::m_pd3dDevice, &matTemp1);
Paste the following ABOVE it:
pMesh->SetBlendFactor(Key.nAlpha); // Fix: Alpha/opacity not applying
That's it! Your Neuz should now support animated obj_ type O3D's! Make sure to compile your Neuz and try it - enjoy!
Last updated