Forum: Carrara


Subject: Falloff blender for shaders?

pauljs75 opened this issue on Feb 11, 2008 · 16 posts


Sparrowhawke posted Tue, 12 February 2008 at 3:57 PM

Pretty cool effects guys !

The EdgeFalloff plugin clearly has a problem with ray traced renders and it will happen with the mipmappers as well.  I used these for larger architectural scenes and landscapes with texture maps so the problem hasnt shown up till now.  The algorithm in the shader uses the distance of the surface from the camera and the angle of the surface to the camera.  The EdgeFalloff shader only uses the angle.  If the object using these shaders is seen in a reflection then its not going to work ! 

I'll have to see if there is a way to get the angle from the incoming light ray instead.  The total distance of a ray as it bounces around the scene isnt passed to a basic shader.  I havent done any custom lighting model plugins and that is probably what this needs to be perfected.

This is probably why the shader function was never included with Carrara then.  I used to like using the edge falloff in Poser for 'cheap' special effects and tricks with the depth buffered renders.  One of the features I want to have is to use reflection maps in Carrara rather than ray traced reflections for even faster renders where that detail doesnt matter.  I couldnt figure out how to do that function with Carrara so I was going to do a plugin sooner or later.

Jeremy,
www.Sparrowhawke3D.com