Blender Git Commit Log

Git Commits -> Revision eff3bd4

Revision eff3bd4 by Brecht Van Lommel (master)
February 3, 2014, 16:08 (GMT)
Fix T38439: allow IOR in range [0, inf] instead of [1, inf] in Cycles.

The same can be achieved by flipping normals on the mesh, but it can be
convenient to do this in the shader.

Commit Details:

Full Hash: eff3bd4e9880efc0c767e3098baa86ab23d77bc7
Parent Commit: 8b1731e
Lines Changed: +9, -9

8 Modified Paths:

/intern/cycles/kernel/shaders/node_fresnel.osl (+1, -1) (Diff)
/intern/cycles/kernel/shaders/node_glass_bsdf.osl (+1, -1) (Diff)
/intern/cycles/kernel/shaders/node_refraction_bsdf.osl (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+2, -2) (Diff)
/intern/cycles/kernel/svm/svm_fresnel.h (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_fresnel.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021