Arbitrary falloff

Tutorials for OctaneRender - demonstrations and howto's.
Post Reply
User avatar
roeland
OctaneRender Team
Posts: 1823
Joined: Wed Mar 09, 2011 10:09 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 597 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
glimpse
Licensed Customer
Posts: 3740
Joined: Wed Jan 26, 2011 2:17 pm
Contact:

Thanks, Roeland ;)
User avatar
Phantom107
Licensed Customer
Posts: 686
Joined: Tue Jul 24, 2012 11:31 am
Location: The Netherlands

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
Post Reply

Return to “Tutorials”