Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAshaman73

Posted 13 September 2012 - 05:05 AM

It depends on the rendering technique.

When using a deferred render you can project a texture using the g-buffer by simple rendering a cube and using a little projection math in your shader . Humus has an article about volume decals over here. I use this technique too, rendering blood decals with it. You can use the stencil buffer to restrict them to certain surfaces (only terrain, no characters etc.).

#1Ashaman73

Posted 13 September 2012 - 05:03 AM

It depends on the rendering technique.

When using a deferred render you can project a texture using the g-buffer by simple rendering a cube and using a little projection math in your shader . Humus has an article about volume decals over here. I use this technique too, rendering blood decals with it.

PARTNERS