Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Need some help with stencil buffer.

$
0
0

I have been designing a object outlining method for my home-grown game engine.  I thought the stencil buffer would do it , but I have having problems with the results. I have been trying to make outlines that are always visible through all surfaces and do not join together.  The method I designed is like many I have seen on the web , where you render to the stencil buffer writing 1's in buffer , then scale the object up and only render a outline colour to where the stencil is 0. That approach does not work on anything but a edge …


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>