Directx9 Specular Mapping
How would I implement loading a texture to be used as a specular map for a piece of geometry and rendering it in Directx9 using C++? Are there any tutorials or basic examples I can refer to? ...
How would I implement loading a texture to be used as a specular map for a piece of geometry and rendering it in Directx9 using C++? Are there any tutorials or basic examples I can refer to? ...
I'd like to send my view vector to an ID3D10Effect variable in order to calculate specular lighting. How do I send a vector or even just scalar values to the HLSL from the running DirectX program? I want to do something like render() { //do transformations D3DXMatrix view = camera->getViewMatrix(); basicEffect.setVariable(viewV...