I want to make a deferred renderer with directx9. I know how it works etc.
First i will render into a texture without lighting(contains diffuse) and store other information like material,normal in another texture.
Then i will draw the texture on the screen and in the pixelshader i will calculate the lighting.
Is this the right approach or is there an easier way?