Author: TheTutor
Shaders are all the rage and the undisputed future of graphics programming. With D3D's addition of the effect file, it is even easier to seamless combine vertex shaders and pixel shaders, with the traditional rendering pipeline. This tutorial is an introduction to vertex shaders in Direct3D through the use of effect files.
Functions/Methods Used: Direct3DCreate9(), D3DXCreateEffectFromFile(), assert()
IDirect3D9:: CreateDevice(), Release()
IDirect3DDevice9:: BeginScene(), EndScene(), SetFVF(), DrawPrimitiveUP(), Clear(), Release()
ID3DXEffect:: Begin(), End(), BeginPass(), EndPass(), SetTechnique(), SetMatrix(), Release()
ID3DXBuffer:: GetBufferPointer()
HLSL: mul()
Access Here