Sign in to follow this  

Soft Particles and Alpha Blending

This topic is 1118 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys,

 

The soft particles is only working correctly with non-transparent meshes.

 

How do I make the soft particles work with alpha blending (transparent meshes)?

Edited by Medo3337

Share this post


Link to post
Share on other sites

Not much info to go on here.

 

Soft particles do a compare against the depth value which controls a fade-to-transparent as they get close to intersecting.

 

If your transparent meshes were to write to the depth buffer that the soft particles are comparing against, then it'd probably work. Note that the depth buffer the transparent meshes need to write to may or may not be your main scene z-buffer. It may be part of a G-buffer or something.

Share this post


Link to post
Share on other sites


@MJP: Since the transparent meshes are not writing to the Z buffer, the particles are not soft when intersecting with transparent mesh.

 

So then have them write to the z buffer.

Share this post


Link to post
Share on other sites

This topic is 1118 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this