russ_c@Posted: Wed May 25, 2005 5:22 am :
I am trying to create a waving flag that would be tessalated polygon plane with the texture rendered on both sides of the poly's face. I am having trouble with my testing...the "twosided" parameter in my mtr file doesn't seem to cause the engine to render my diffuse map on both sides of the animated mesh it is applied to. It only renders the texture on the side the normals are facing on. Are there any other parameters that I must include to make this work?

Any suggestions?

kat@Posted: Wed May 25, 2005 3:23 pm :
No. What ever you do don't use that on MD5s. Not only does it *not* work but it'll make the mesh 'transparent' for some reason so it won't even cast shadow volumes.

russ_c@Posted: Wed May 25, 2005 9:06 pm :
wow, huh....that's lame. That means cloth will take twice the polygons to produce. :? Glad to have that cleared up though.

rich_is_bored@Posted: Thu May 26, 2005 5:12 am :
Well, yes and no because you'll never see twice the polygons.

reklipz@Posted: Fri Aug 05, 2005 10:13 pm :
ya, that'd be a no, there may be a couple more verts in the vert list, but they will use the same weights if you do it right...

and then when u render, u should only see one side(unless you added wind somehow) then it should still work, just u would see both sides,lol

iceheart@Posted: Fri Aug 05, 2005 11:37 pm :
And I wouldn't really consider cloth using "twice the polygons" to be a big problem :).

doomkid3000@Posted: Sat Aug 06, 2005 4:44 am :
i think if you do cloth, make the material file use no shadows whatsoever, and use a common/shadow of a very thin box around the cloth's shape :o

reklipz@Posted: Sat Aug 06, 2005 3:13 pm :
yes, that'd work, but if there is wind...(other wise i dont really see the need for a cloth...) then that prob wouldnt be the best