broli100 0 Newbie Poster

Hi,
I have problem with OpenGl tesselator - the polygon shapes are ok but when I light on polygon then I can see the triangles with another light levels. I know that tesselator draws polygons from triangles but I dont get why I can see that triangles in final stage. I didnt set up the normals so they should be same (I even tried to set up them manually to 0,0,1 but nothing changed). I also know that problem is not with textures, cause it does the same when I dont use textures.
I am adding picture to this - the floor should be one polygon done by tesselator (you can see that some parts are lit more and some are less), the light is somewhere on left.
Maybe it will fix using some shader?
Thanks for replies.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.