for who don't know what that map shadow meaning. just skip this topic.
few days ago. i just found some ace video. that server have custom map. but still have map shadow from original map that they clone. so i will give a guide to fix that SHIT.
how this happen?
when you clone dat. map that have shadow layer without remove.
your new map will render that shadow and make your map look glitch.
there have 2 solution here. just pick one
1. create some app that can read dat structure then clean VERTEXINFO->nor from structure.
2. skip map shadow render on client soruce.
ProjectAtum\main\Background.cpp inside HRESULT CBackground::InitDeviceObjects()
Code:memcpy(&m_pTileVertexArray[i], p, sizeof(VERTEXINFO)); m_pTileVertexArray[i].nor = D3DXVECTOR3(0.0f,1.0f,0.0f); // Add this line p += sizeof(VERTEXINFO);



Reply With Quote![[C++] How to remove or skip Map shadow (for custom map)](http://ragezone.com/hyper728.png)



