So I've been working with MDX9 for the past 2 months now and I've gotten a pretty good feel for it. I think I'm ready to move onto Shaders, but before I do, I wanted to clear up a few things that were not covered or expanded on in the tutorials and articles that I've read. With that said, I'm working on an engine thats object oriented. I basically have a class for a light, camera, sphere, cube, etc... I know how the Shader fits into the pipeline, but I'm not quite sure how it handles things. For example, the shader handles texturing and lighting, but how does that fit into setting up lights or texturing with stages. I mean, right now i would use something like this to setup my light:
[SOURCE]
DXdevice.Lights[0].Type = LightType.Point;
DXdevice.Lights[0].Position = new Vector3(4, 4, -2);
[/SOURCE]
Or this to set my texture...
[SOURCE]
DXdevice.SetTexture(0, mytext);
[/SOURCE]
If i start using Shaders, does this all become redundant?