Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  lighting material back front  (Read 349 times)
0 Members and 1 Guest are viewing this topic.
Offline qwertyuiop

JGO n00b
*

Posts: 26



« on: 2006-03-26 07:50:06 »

Hello, I have a problem with back and front of my polygons. When I set the GL_FRONT on my polygon with color red and I rotate, both sides are red.

and when I set GL_BACK none of the sides is red.

I need this to be able to check how to face the polygons right...or I know how to do it but I cant see any difference at this point becouse of the problem with front and back.

It should be just to set glNormal3f  to a direction and that will be fron, right?

plz help=) thx!


Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.09 seconds with 21 queries.