x


Fade particle opacity according to distance from camera?

Hi All I'm working on iOS (base pro, though not iOS pro for the time being) - I want to ramp the opacity of particles down to zero as they approach camera. Is there a simple way to do this? It appears that soft particles don't work on iOS - - so this would be a pretty good workaround for my needs.

more ▼

asked Jan 26 at 04:57 AM

mgc90403 gravatar image

mgc90403
20 3 902 17

You could go about appropriating this shader to your needs, since it fades transparent materials out as they get closer to the camera.

Jan 26 at 06:11 AM nesis
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Thank you for posting the link.
This appears to work great (after ferreting out a phantom typo on my part. ;)

more ▼

answered Jan 27 at 03:06 AM

mgc90403 gravatar image

mgc90403
20 3 902 17

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2891
x457
x62

asked: Jan 26 at 04:57 AM

Seen: 452 times

Last Updated: Jan 27 at 04:22 AM