i’m using RTT to render to a 2D texture, strangely if i clear the stencil buffer the color buffer gets horrible artifacts(portions of the image don’t show). However if i change the pbuffer to render to a RECTANGLE texture it renders just fine.
For now i’m just rendering a colored quad into the pbuffer and then i use the texture to render in ortho mode to the screen.
I’ve already queried the pbuffer, it shows that it has a 8 bit stencil buffer(just as i requested). So what’s wrong?
I had a similar problem with artifacts being random black blocks in the pbuffer. this occured as soon as i switched on the depth test. this seems to be the case with nvidia drivers 61.77 and higher or so.
see the other posts regarding render to texture…
it’s high time this stuff gets clarified, imho!
are there any new requirements regarding the initialization of pbuffers introduced with the new drivers?