Well, it doesnt work with a pixel shader. It runs on its own. It basically is a pretty normal lighting shader but instead of outputing the actual shading part to oD0 (like in your example with the bumpmapping), I output it to the texture one, oT0. This gives me a toon effect. But I cannot put a texture on with oT0 because that overwrites my shading. So how else would I display a texture?


--Eric