Hi...
Here is all you need to know... LOL...
Actually... you can learn a great deal by looking at...
Here it is...
"MystyMood" by the "Loopix Project"
Here is the address to the web site:
http://www.loopix-project.com/
Click on the "Easy" button... and then "Mystymood" in the sentence...
There are 3 templates... Choose the right one for your code base...
I use their work on all my projects...
There is info and a great tutorial...
The texturing system is more advanced that the standard 3DGS system but it's awesome...
I suggest that you check it out... and then ask questions...
By the way... it's all free and usable in your project....
Best of luck!