OK then, IF it not too much trouble, I'd like the following, so I can learn it like a tutorial.
(assume normal map as skin2 for all shaders, and DONT use structs for passing parameter info yet)

1> A single-pass normal mapping shader using just sunlight.
(please explain here what the difference between "normal", "bump", and "Specular bump" mapping is.
If there is actually a difference, Ive never been clear on that part.)
(if there are significant differences, please supply separate shaders with different versions just for step <1>)


2> The same shader as <1> with 1 dynamic light added in the same pass.

3> The same shader as <2> with 2 more dynamic lights added as a second pass.
(please explain or point to real tutorials/info regarding the variable/compiler settings used in the "pass"
stage of the technique, not counting wiki material as I am still reading that.)


4> The same shader as <3> but using structs to pass parameter info.
(please explain here the concept of the "semantic"'s as used with shaders, this keeps twisting my brain.
Can non-numerically assigned semantics be used? ie "inPosition:POSITION" as opposed to "inPosition:POSITION0"
when accessing global variables across multiple functions? Or are global variables in shaders different in some way)


5> 6> 7> ... Anything "layers" you can think of that may be of interest.

When I say "same shader as <x>", I mean that shader with the new stuff added, rather than a whole new shader.
That way I can see better what is interacting with what, and what stays the same even though a new layer
of complexity has been added. Know what I mean?

HA! You shouldnt have offered to help should you. wink
If this is too much work, I wont be annoyed, as even I can see I am asking for a lot. No hard feelings.

PS: I would STILL like to know the answer to my original post, cause it bugs me not knowing why something doesnt work...



"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial