appleseedhq / appleseed

A modern open source rendering engine for animation and visual effects
https://appleseedhq.net/
MIT License
2.19k stars 329 forks source link

Unwrap BSDFBlend, BSDFMix and OSLBSDF #2901

Closed LZaw closed 3 years ago

LZaw commented 3 years ago

Fixes #1243.

In the following table you can see the results of rendering the attached test scene, with and without this PR. The Test scene is derived from @lorentzo Google Summer of Code PR (#2886, Test Scene 34). Generic OSL
Pre 01  Generic-Pre 02  OSL-Pre
Post 03  Generic-Post 04  OSL-Post

In this scene, the problem does not occur, if you remove the UV map or if you use a UV map which has no effect. In those two cases, the result always looks the same. I was not able to create a test scene without an UV map, having the same problem.

The Test Scene: Example_Scene.zip