I thought I knew how to use glPolygonOffset properly, at least using it for outlining objects is easy, but now I am attempting something rather unusual.
I have a Model that has Glows. In D3D, the glows are zbiased towards the user before they are drawn the amount of the glows radius. In OpenGL, I have only been able to accomplish similar results by translating the glow. I tried using glPolygon Offset with my radius as the units and factor set to 0, but it doesn’t come nearly as fas as a translate does. In fact, I usually need to multiply the radius by 1000 or so, before it looks equivalent.
I had read in some other posts that polygon offset and zbias do the same thing. If that is the case could someone please explain why it is that I need to use a vastly larger number? I have the redbook, and some other tutorials, but they don’t talk about anything other than using it for outlining objects.
I hope someone has some suggestions.