First I would just like to say hello, and whether you want it or not an introduction about me. I do this for two reasons, one to prove I am human and not a bot, and two because it is the polite thing to do. I promise I have a question and a purpose at the end.
The first game development system I used was Dark Basic, which I actually forked out 60 bucks for. It was decent for a while, but after my skills improved I found the old non object orientedness and slowness of a Basic derivative annoying.
Basically, since that time, I have had to learn Java inside and out for my computer science class, and PHP for my web development class(just a side note: php is my favorite web language of all time, possibly my favorite language in general, possibly over even English . ) I have also dabbled in assembly, even bought two books on the subject, but haven’t been able to devote much time to that enigma, which is a huge project on its own. If you can’t tell by now I am an active computer science student…
Anyway, The whole reason I came to your corner of the web, was that I was looking for a game engine that was easy to learn, powerful, and cheap as possible, I am a student after all. After looking at how easy python seemed to be to learn, and that it is actually pretty damn efficient for a supposed ‘scripting language’, I thought I would give you guys a try. It was created by Disney, how bad can it be …
I actually really like the Panda engine, it is simple, it makes sense, and thank god, its object oriented! My biggest question right now is: I, like many other superficial gamers, like pretty things, and thus I have been looking at the shader aspect of things. One thing in particular, something that I really would like to have, is Normal Mapping.
I know I would have to write a normal mapping shader in Cg, but I know very little about the whole thing (basically the wikipedia entry on Cg is the extent of my knowledge, and I have been too lazy to find any tutorials at the time of this writing). So, here’s the question you have all been waiting for:
How would I go about writing a normal mapping shader, or, in the interest of laziness, is there one that is out there that I can use, or at the very least something that I can plagiarize some code from and make work for me.
Thanks, rayman