Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsiri

Posted 18 April 2013 - 02:32 PM

@ATEFred: So that means I only need to apply shader to my current particles?

 

You need to grab the depth of the scene, without the particles, then in a particle shader you compare the scene depth to the depth of the particles and modify the particle alpha accordingly.

 

Edit:

 

If you're googling it's sometimes called "z-feathering".


#1siri

Posted 18 April 2013 - 02:30 PM

@ATEFred: So that means I only need to apply shader to my current particles?

 

You need to grab the depth of the scene, without the particles, then in a particle shader you compare the scene depth to the depth of the particles and modify the particle alpha accordingly.


PARTNERS