OSL Fake Refraction


Our Ocean shader has been translated from RenderMan RSL/Reyes to OSL, and now works with any renderer that supports OSL!

Why use the Fake Refraction Shader? Ray-traced (real) refraction looks beautiful with glass but is VERY expensive (time consuming) to render. Our Fake Refraction shader calculates the refraction vector, but doesn't do the refraction in the render, instead it outputs a custom layer with 3d information about the refraction vector as well index of refraction (IOR) and glass thickness, so you can use it in a compositing program (such as Nuke) to very quickly dial in your refraction of background objects. As a bonus this workflow has much more artistic control than "real" refraction so you can really customize the refraction look. See the video below for a demo:

Tutorial Video

View tutorial video in HD on YouTube


The download package includes:

  • OSL Shader (can load into Maya, Houdini, Katana, or any custom RenderMan package)
  • Maya scene file for rendering
  • Nuke scene file for compositing
  • Original HD tutorial video
  • Instructional Screenshots for loading shader into Maya



Ocean Shader
Maya Houdini Katana RenderMan Reyes RenderMan RIS v19+20 RenderMan RIS v21
✔︎ ✔︎ ✔︎ ✔︎


View the License Agreement before downloading or purchasing.