Hi, I have an old game source from 2004, the game runs DirectX9, and I want to improve the graphics.
I downloaded NVIDIA FX Composer 2.5, and I created a “Phong_bump_relect.fx”.
I want to add the effect to my terrain, is there any way ?
I tried like this, on the terrain render function:
if (D3DXCreateEffectFromFileA(ms_lpd3dDevice, "Phong_bump_relect.fx", 0, 0, 0, 0, &m_pShader, 0) != S_OK)
assert(!"Failed to create shader !");
But nothing happened.