Arbitrary falloff

Forums: Arbitrary falloff
Tutorials for OctaneRender - demonstrations and howto's.

Arbitrary falloff

Postby roeland » Wed Dec 07, 2016 11:18 pm

roeland Wed Dec 07, 2016 11:18 pm
By using specific settings for the UV transform and projection, you can use an image texture to create an arbitrary falloff:

Falloff.orbx
(3.33 KiB) Downloaded 323 times


In this example we use an image of 1px wide, with the color for grazing angles at the bottom, and the color for normal angles at the top.

  • UV transform:
    • R.Z = 180°.
    • (S.X, S.Y) = (0.5, 0.5)
    • (T.X, T.Y) = (0, -0.25)
  • Use spherical projection and set coordinate space to "Normal space"
  • Set border mode to "Clamp value"

Now the image is mapped in the same way as the ramp of the falloff texture node.

You can change the rotation according to the orientation of the image. If your image contains the ramp along the X axis, use 90° or -90°.

--
Roeland
User avatar
roeland
OctaneRender Team
OctaneRender Team
 
Posts: 1740
Joined: Wed Mar 09, 2011 10:09 pm

Re: Arbitrary falloff

Postby glimpse » Sat Dec 10, 2016 10:25 pm

glimpse Sat Dec 10, 2016 10:25 pm
Thanks, Roeland ;)
tomGlimps | [email protected] | 32GB | TitanBlack
Available for Freelance, Coaching & Mentoring
User avatar
glimpse
Licensed Customer
Licensed Customer
 
Posts: 3579
Joined: Wed Jan 26, 2011 2:17 pm

Re: Arbitrary falloff

Postby Phantom107 » Sat Mar 11, 2017 6:01 pm

Phantom107 Sat Mar 11, 2017 6:01 pm
Please don't ever change this behaviour, I programmed a custom tool to be able to design fresnel curves and then project them using your method in Octane ;)

Image
User avatar
Phantom107
Licensed Customer
Licensed Customer
 
Posts: 685
Joined: Tue Jul 24, 2012 11:31 am
Location: The Netherlands

Return to Tutorials


Who is online

Users browsing this forum: No registered users and 1 guest

Wed Sep 18, 2019 1:23 pm [ UTC ]