Posted By: Enduriel
[HELP] Foliage that is parallel with the camera - 03/13/09 09:57
I've been working on some foliage in maya the past few days, getting them to look right in-game is a really difficult task. I've tried planes, bent planes and all kind of stuff, it's still not what I had in mind.
So now I'd like to make the planes parallel with the camera instead pretty mush like Oblivion.
Right now I do not have any ideas on how to do that with a shader (if it's possible even). I'd like to have the trunk on a different MDL file as I'm using Slins normal map shader on it, and all the planes (leaves) in either one MDL file or have a single MDL plane and use some sort of a for loop which checks through either "bones" with names or vertexes and inserts them accordingly and then giving them each an action which has like my.pan = camera.x or something. But I guess that would be abit slow if I have like 50+ Trunks.
So does anyone know or have some ideas which could help me achieve this without shader programming as I have no clue about it or if the for loop idea would work?
Thanks in advance!
//Endu
So now I'd like to make the planes parallel with the camera instead pretty mush like Oblivion.
Right now I do not have any ideas on how to do that with a shader (if it's possible even). I'd like to have the trunk on a different MDL file as I'm using Slins normal map shader on it, and all the planes (leaves) in either one MDL file or have a single MDL plane and use some sort of a for loop which checks through either "bones" with names or vertexes and inserts them accordingly and then giving them each an action which has like my.pan = camera.x or something. But I guess that would be abit slow if I have like 50+ Trunks.
So does anyone know or have some ideas which could help me achieve this without shader programming as I have no clue about it or if the for loop idea would work?
Thanks in advance!
//Endu