I realize that I'm still a newbie. And yet, I've done my best to adapt an .fx file to 3DGS. Earlier I did not know how to import a texture file into the external .fx file, but looking at some of the other posts has answered my question: I needed to declare the (material) texture first, outside the technique, and then I was able to put it into my pass(es).
One remaining question I had was, why did 3DGS give me some syntax errors? And I was able to learn, that the asm { }; clause of my shaders needed to end with a semicolon, which some clauses do and others don't.
So I have written a brilliant shader, which no longer poduces any error messages, but which renders the model completely transparent!
What are some of the most common errors, due to which the shader runs, but the entity is not rendered at all?
Oh, boy...
Dirk
Last edited by dirkmittler; 07/22/04 11:01.