blender/tests/files/render/osl
Sebastian 144e9f6efb Refactor: Cycles: Moving IOR inversion inside the OSL closures
In Cycles we previously assumed that the IOR inversion, when hitting a
surface from the backside, for dielectric closures
(e.g., generalized_schlick, microfacet, refract, etc.) is done by the
user in the OSL code. While experimenting with the OSL code generated
by MaterialX and by looking at the example OSL shaders of the OSL
testrender it shows that OSL assumes that this inversion is done
implicitly, inside the closures. This change matches Cycles IOR
inversion behavior with the one expected by MaterialX and OSL
testrender.

Pull Request: https://projects.blender.org/blender/blender/pulls/162634
2026-09-09 09:12:30 +02:00
..
cycles_renders Refactor: Cycles: Moving IOR inversion inside the OSL closures 2026-09-09 09:12:30 +02:00
osl_burley_diffuse.blend
osl_deprecated_closures_diffuse_oren_nayar.blend Refactor: Cycles: Moving IOR inversion inside the OSL closures 2026-09-09 09:12:30 +02:00
osl_deprecated_closures_refract_reflect_transparent_translucent.blend Refactor: Cycles: Moving IOR inversion inside the OSL closures 2026-09-09 09:12:30 +02:00
osl_deprecated_microfacet.blend Refactor: Cycles: Moving IOR inversion inside the OSL closures 2026-09-09 09:12:30 +02:00
osl_dielectric_closures.blend Refactor: Cycles: Moving IOR inversion inside the OSL closures 2026-09-09 09:12:30 +02:00
osl_ramp_closures.blend
osl_thin_glass_closures.blend Refactor: Cycles: Moving IOR inversion inside the OSL closures 2026-09-09 09:12:30 +02:00
osl_trace_shader.blend Fix #151840: Cycles OSL trace() not returning attributes from other surface 2026-01-30 17:14:13 +01:00
osl_volume_shader.blend