PDA

View Full Version : Drawing outline of a display list



Budric
03-14-2008, 08:19 AM
Hi,
I have a display list that draws several objects. I specify the colour for each object in the display list. I wanted to draw an outline of the objects using 1 solid colour for all objects - which is a problem because I already specify the colour in the display list.

Any simple solutions?

I could have another display list that draws the same objects without colour - but that's another display list to make. I could also write a fragment shader that outputs a colour of my choice. These are kind of a pain.

Thanks.

CatDog
03-14-2008, 08:34 AM
Use one display list per object.

CatDog