TestFagmentProgramState question

Hi everybody.

How I can apply the example TestFagmentProgramState to 3D model in milkshape?

Please show me the way.

IIRC that one uses a quad and writes texture coordinates for it, not sure if the shader lends itself to using a MS3D model (could be wrong).

Give TestNormalMap a look - you can pretty much just replace the object with a loaded model and you're good to go with that one. It does diffuse, normal and specular mapping but you can of course change the shader.

Thanks, I will try to TestNormalMap.