Results 1 to 3 of 3

Thread: Making a glTriangle visible on both sides

  1. #1
    Guest

    Making a glTriangle visible on both sides

    Hello,

    How do I make a glTriangle visible on both Front and Back side? I have tried applying material on both sides but it only reflects light on the front side.

    Thanks
    /Jonas Forssell, Gothenburg, Sweden

  2. #2
    Senior Member Regular Contributor
    Join Date
    Oct 2004
    Posts
    150

    Re: Making a glTriangle visible on both sides

    glLighModeli(GL_LLIGHT_MODEL_TWO_SIDe,GL_TRUE)

  3. #3
    Guest

    Re: Making a glTriangle visible on both sides

    Excellent

    Thanks!

    /Jonas

Similar Threads

  1. Both sides blending
    By michalsz in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-11-2011, 02:10 PM
  2. making cut faces visible
    By hoschie211 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-21-2009, 08:11 AM
  3. Visible Sides
    By ame_nguyenanhtai in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-04-2008, 01:42 AM
  4. two different colors for in and out sides
    By marceloc in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-26-2007, 02:28 AM
  5. TWO SIDES
    By Dimae in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-17-2001, 03:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean