• Advertisement
Sign in to follow this  

Two side lighting model

This topic is 2897 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a mesh in which not all surfaces are winded consistently in same direction also I don't know the direction of any face if it is CW or CCW .In order to solve the problem I have to use two side lighting model. I will be very grateful for your advice how to implement it

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by yakovm
I have a mesh in which not all surfaces are winded consistently in same direction also I don't know the direction of any face if it is CW or CCW .In order to solve the problem I have to use two side lighting model.
I will be very grateful for your advice how to implement it
Personally, I'd try to fix the mesh data rather than try to code around it.

Where is the mesh data coming from? Why is the winding inconsistent? (I think there have been a couple of threads recently related to fixing incorrect windings - you might try searching the forum archives to see if you can find them.)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement