Forum Coordinators: Kalypso
Carrara F.A.Q (Last Updated: 2024 Nov 21 9:55 pm)
Visit the Carrara Gallery here.
Mmm, I think this is actually about the fresnel effect. And maybe even about absorbtion, but you can only manipulate transparency with that (in the shader tree, choose 'Transparancy' in the transparency channel, so you get the advanced options. And do set Refraction, to get the fresnel effect going.
But when you want this to make, for instance, 'flip flop' paint, that looks different in different directions, you want the 'fake fresnel' from Shader Ops by Digital Carvers Guild , which you can use as a blender in all kinds of shader constructions.
Hope this helps!
I have an EdgeFalloff shader that should be what Paul is after. Its good for cheap special effects like soft edges on clouds, smoke and for transparency on glass.
I cut and paste a few lines of code from my MipMapper plugin into a new project quite a while back that gives this 'EdgeFalloff' effect. ( It takes the dot product of the surface normal and the vector from the camera - simple, once you get hold of the camera ! )
Most other applications have it and it really should have been included with Carrara in the functions list many versions ago...
I was going to bundle this up with a few other basic shaders but if anyone wants to try it now...sorry, still only Windows versions though.
http://sparrowhawke3d.com/Downloads/EdgeFalloff/EdgeFalloffC4.zip
http://sparrowhawke3d.com/Downloads/EdgeFalloff/EdgeFalloffC5.zip
http://sparrowhawke3d.com/Downloads/EdgeFalloff/EdgeFalloffC6.zip
Alright., cool! I asked you about that in an email, just to cover the bases. Didn't know you had it whipped up already. :D
downloads
Windows is fine for me at least. I'm sure if you asked around, some Mac programmer out there with Carrara would compile it. Those plugins of yours are well worth it.
Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.
Brian,
Once installed you will find the shader under the Sparrowhawke3D submenu.
Use it with the alpha channel on something like a classic wine glass spline object rather than transparency and see what happens. Adjusting the Acuteness Falloff will exaggerate the effect.
Make a cloud shape or something like that in the vertex modeler and hit it with a wave deformer. For clouds and smoke stuff use it in the alpha channel and check the EdgeFalloff Inverse option so the edges fade away.
Apparently two things affect it - light through transparancy, and reflections of reflective material.
Top one has light through transparancy checked on both the basic render and the indirect lighting settings. Bottom one has both light through transparancy settings unchecked, but the strange artifact still occurs where there's a reflection of a reflective material.
Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.
The strangeness seems particular to the car paint shader I was working on. (The artifacting doesn't happen in simpler shaders using falloff.) The idea was to have the paint shift color near the edges to achieve a pearlescent effect. Does work to some degree, but the reflection weirdness limits it.
Other than that, the falloff channel thingy is powerful stuff. Made a Hal 9000 effect with it and some fuzzy cloudlike shaders. I'm sure there's even some more inventive uses.
Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.
Tried to see if there was a way to do something else neat with this, but Carrara didn't like it when I tried to mess with leaves on some tree and quit. (No fault of the shader though, didn't get that far.)
Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.
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
Attached Link: http://www.renderosity.com/mod/gallery/index.php?image_id=580742
The "Fake Fresnel" component of "Shader Ops" by DCG is exactly what the original post is asking for. The beauty of Fake Fresnel is that you have complete control over both shader components and their intensity and falloff. This allows you to enhance the effect of true Fresnel to your liking. It also works in many different channels, transparency, reflectivity, etc.Here's a link to an image I did way back in Carrara 3. The water uses Fake Fresnel in the reflection and transparency components of the shader. The water gets more reflective as it gets further away and more transparent as it gets closer, because of the angle to the camera.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Say I have a sphere, and I'm viewing it straight on. I want to be able to blend two different colors based on viewed surface angle. So that way the edges of the sphere are a different color than the middle. (Could be anything, but I think a sphere is the quickest example.)
I have some neat idea for a paint shader, and I think being able to do that would help a lot.
I also see this being useful for transparancy, so stuff gets fuzzier as it nears the edges, or even the opposite way around. Figure something like this might be hidden in there...
Barbequed Pixels?
Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.