Thank you for kind words! :>
I used two passes:
- first one to color entity with the defined color and it also has ZFunc set to GREATER and ZWriteEnable set to FALSE.
- second one is a normal pass but with ZFunc set to LESS and ZWriteEnable set to TRUE.
I was amazed that it worked so easily
![grin grin](/ubb7/images/graemlins/default_dark/grin.gif)
I also bumped on a more complex/difficult
solution, where people suggested to used stencil buffer to draw a circular translucency around the given entity.
Here how it looked like:
![[Linked Image]](https://user-images.githubusercontent.com/16706911/34574395-851a7682-f18c-11e7-8765-26ec2f5fee9b.jpg)
Greets