Halo effect
Posted: Mon Jul 21, 2008 3:12 am
Can you do this in Irrlicht:
1. Add cube node
2. Increase the scale of the cube then blur the cube node (maybe with a shader) and render this to the stencil buffer
3. Blend the buffer and render the scene
Thus creating a soft colored halo to the cube kind of like a stencil shadow but with 0 depth something like the image below.
An example/code snippet would be very much appreciated
Thanks
1. Add cube node
2. Increase the scale of the cube then blur the cube node (maybe with a shader) and render this to the stencil buffer
3. Blend the buffer and render the scene
Thus creating a soft colored halo to the cube kind of like a stencil shadow but with 0 depth something like the image below.
An example/code snippet would be very much appreciated
Thanks