Double sides face with two normals
Posted
by
Marnix
on Game Development
See other posts from Game Development
or by Marnix
Published on 2011-03-02T16:39:39Z
Indexed on
2011/03/02
23:34 UTC
Read the original article
Hit count: 347
I think this isn't possible, but I just want to check this:
Is it possible to create a face in opengl that has two normals?
So: I want the inside and outside of some cilinder to be drawn, but I want the lights to do as expected and not calculate it for the normal given. I was trying to do this with backface culling off, so I would have both faces, but the light was wrongly calculated of course. Is this possible, or do I have to draw an inside and an outside? So draw twice?
© Game Development or respective owner