Original Post
Hi I'm working on my isometric RPG and am trying to get walls to render transparently if they obstruct the PC. This method should work with other in-game objects, e.g. doors. I'm thinking of drawing an elliptical region around the character on the stencil buffer, and using the stencil test to prevent rendering of walls/objects in front the PC. (Layering already ensures that walls/objects in front of the PC are drawn later.) At the same time, I would like to have this transparent region transition smoothly into full opacity. I don't think this is possible with the stencil buffer; what alternative do you suggest? As a side question, if I were to go with the stencil method, would there be major performance issues (e.g. with systems that don't have a hardware stencil buffer)?