mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
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 |
||
|---|---|---|
| .. | ||
| cycles_renders | ||
| osl_burley_diffuse.blend | ||
| osl_deprecated_closures_diffuse_oren_nayar.blend | ||
| osl_deprecated_closures_refract_reflect_transparent_translucent.blend | ||
| osl_deprecated_microfacet.blend | ||
| osl_dielectric_closures.blend | ||
| osl_ramp_closures.blend | ||
| osl_thin_glass_closures.blend | ||
| osl_trace_shader.blend | ||
| osl_volume_shader.blend | ||