Hi,
I have a hobbyist project that up until now has been using my own code for graphics using opengl. I'm looking into graphics engines to use instead, I have mostly standard requirements for this but there are one or two finicky things I need to do that make me worry about giving up control.
Here's an example, I'm rendering an RPG scene from a top down or isometric perspective with a fixed camera orientation. I want to ensure character models are always visible, preferably by rendering them as translucent overlays selectively where they are occluded by foreground level geometry. You can see an example of this idea in this image, taken from the game Pillars of Eternity.
Attachment:
PoETransparency.jpg [ 44.5 KiB | Viewed 20994 times ]
As you can see the character models are rendered with a different shader that produces a kind of outlining effect and I believe doesn't consider lighting or effects, but only appears where they would be covered by foreground wall, but not when covered by anything else such as another character model.
In my code I can accomplish something similar by rendering the subset of occluding geometry into a depth buffer only, and then using the reverse of the standard depth test to render the characters only in those regions where geometry is in front of the character model. I also do some shenanigans with the stencil buffer to get the character selection circles overlays to show a similar effect but appear correctly behind the character model overlays.
Do you think something like this is straight forward or possible using the horde3d pipeline?