Jump to content

What are the plans for Fresnel?


JCPalmer
 Share

Recommended Posts

Saw first step showing up.  Also, see it as a material setting in Blender.  Seems Blender defines it as an angle. http://wiki.blender.org/index.php/Doc:2.6/Manual/Materials/Properties/Mirror

 

Being defined here as a on/off, left color, right color.  I do not really know what this is, some kind of magnifying glass effect.  Is the plan to just switch on and defaulting on color when value is > 0 in Blender?

 

Jeff

Link to comment
Share on other sites

Fresnel is computed like this:

	float fresnelTerm = dot(viewDirection, worldNormal);	return clamp(1.0 - fresnelTerm, 0., 1.);

This term is then use in diffuse, opacity and reflection computation so that you can create this kind of effect:

http://www.babylonjs.com/cyos/#AWTBH

 

Fresnel needs a color for outside and a color for inside to define if you want the effect to move from outside to inside or the opposite

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...