Custom material on Particles:Mental ray -Not respecting falloff Opacity

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  05 May 2013
Custom material on Particles:Mental ray -Not respecting falloff Opacity

Im trying to render some simple smoke effect with sprites and mental ray. The problem is the sprites are not fading off according to my ramp tied into opacityPP.

The particle opacity seems to fall off correctly in veiwport and render correctly in hardware render buffer, but we want to render Mental Ray.

Is there something im missing here? I feel something as simple as particle fall off cant be this broken.
NOTE: Breaks when assigning a custom material/ texture, just a simple lambert with my sprite card plugged into it.
__________________
www.cwisbg.com

Last edited by cwisbg : 05 May 2013 at 05:43 PM.
 
  05 May 2013
Normal shaders do know nothing abut per particle data. The builtin particle shader automatically gets the needed informations.

You can do it by creating a particleSampler node and connect the outTransparency to your lambert transparency. You may have to invert it - not really sure.
__________________
www.renderwiki.com - www.openmaya.net
 
  05 May 2013
I was able to fix it by plugging in the opacityPP from the particleSamplerInfo node, into the file texture alphaGain.
__________________
www.cwisbg.com
 
  05 May 2013
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:19 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.