I am trying to add normal map to my project I have an example of a cube:
I have normal in my shader I think. Then I set shader resource view for texture (NOT BUMP)
device.ImmediateContext.PixelShader.SetShaderResource(0, textureView);
device.ImmediateContext.Draw(VerticesCount,0);
What should I do to set my normal map or how it is done in dx11 generally example c++?
↧