Stencil buffer black pixels
category: code [glöplog]
I'm getting a strange visual glitch when I enable the stencil buffer test. I get some strange black pixels, in a clearly visible pattern. When I disable the stencil test everything works like it should (other than the stencil buffer use).
Any idea on what it can be?
![BB Image](http://web.ist.utl.pt/tcf/rand/stencilcrap.png)
rescaled crop
Any idea on what it can be?
![BB Image](http://web.ist.utl.pt/tcf/rand/stencilcrap.png)
rescaled crop
Eventually, you'll get some that look like Space Invaders.
it's not a genetic thing.
cool.
Maybe a message from your graphics driver in some kind of strange code?! ;)
Maybe a message from your graphics driver in some kind of strange code?! ;)
good thing is, it looks awesome :D
thec: it doesn't. specially with the rest of the post processing passes.
las: maybe. I've actually solved bugs before by updating drivers.
las: maybe. I've actually solved bugs before by updating drivers.
looks some kind of egyptian hieroglyphs, now, try figure out if it is a message from an alien civilization or something
Braille?
Your GPU is playing game of life.
Back in the Nineties we called this "design"
where's ryg when I need him :)
Looks like good old video-mem Garbage/Speichermüll to me.
I had something similar when messing with shadow mapping (polygons wouldn't be correctly raterized, leading to patterns). Check your states.
extended braille for democoders :D
Stupid gdebugger doesn't want to work. Free licence expired, and the new AMD gdebuffer sucks.
...meanwhile I found out how zden codes his demos.
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0005_0082.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0007_0264.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0016_0306.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0003_0364.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0005_0082.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0007_0264.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0016_0306.png)
![BB Image](http://web.ist.utl.pt/tcf/rand/Image_NVRECT_0003_0364.png)
There you go, post processing for free :)
Just asking: Do you actually clear the stencil buffer and set up the correct func and ops?
I demand a code snippet!
leave it like that and I'll give you a thumb up
Bugs are the best effects. qed.
New drivers solved the problem. In case you want to know.