Reputation: 12721
I am trying to get some toon shadding like effect for primitive types, ie. rectangles or triangles. for now I first render my vertices using GL_LINE_LOOP with GL_TEXTURE_2D disabled and then using GL_TRIANGLES with GL_TEXTURE_2D enabled. the effect is as follows.
My questions are, 1. how can I get rid of the lines between the blocks and 2. how can I make the lines black without affecting everything else beeing rendered afterwards?
Upvotes: 0
Views: 407
Reputation: 35933
For #1, two options
For question #2, can you elaborate what you mean? Why would changing the line color to black affect anything else being rendered?
Upvotes: 2