Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

normals with triangle strips

This topic is 6340 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

Hello there! How can I set Normals in a triangle_strip? do I have to call the function b4 the first vertex or b4 the the 3d vertex? I tried both and they both looked somehow wrong, while the first seems to be right except that it smooths out between the normal of the next triangle (I have smooth shading enabled, if that has anything to do with thata)

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by zedzeek

before the 3rd vertex and every vertex after that


- This will work only for flat shading.

You have to provide normal for each vertex.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!