Looks like an enlarged polygon stipple pattern. Is polygon stipple enabled?
For more insights you need to show the code which sets up the pbuffer and draws into it.
thx relic,
yep, if I disable the polygon stipple my pb does not occur any more.
That’s strange, cause when I render directly in framebuffer the stipple does not appear.
And in Pbuffer the stipple sometime appears and disappears. depends where I am in the 3d scene. strange , isn’t it ?!
That’s simple to figure out if you have all the code doing OpenGL rendering under you control:
Polygon stipple is off and the pattern is solid per default.
Do a search for GL_POLYGON_STIPPLE and glPolygonStipple in the code. It must be set and enabled somewhere.
If there’s a mismatch between the enables and disables in the pbuffer case, fix it.
If not, search for all glPush- and glPopAttrib to see if there’s a mismatch and fix it.
If not, things get difficult. Maybe render contexts not current, or driver bug.
However, fine that it works now.