PDA

View Full Version : shading hardware render particles with luminance depth


gmask
05-05-2008, 08:36 PM
I'm trying to figure out a way to shade multpipoint particles so that they are darker when they are farther from camera.. unfortunately the particlesamplerinfo node is camera indepedant. I started to write an expression that measures the distance between the camera and a given particle and then assigns a value to rgbPP but it is extremely slow.

Sharky0815
05-05-2008, 08:54 PM
Maybe this (http://www.highend3d.com/maya/downloads/mel_scripts/rendering/misc/particleHWShader-3766.html) helps.

gmask
05-05-2008, 09:02 PM
yup that should do the trick allright

CGTalk Moderation
05-05-2008, 09:02 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.