Blender Git Loki

Git Commits -> Revision 3668347

Revision 3668347 by Jeroen Bakker (master)
September 24, 2019, 07:44 (GMT)
Fix T68457: Cycles OpenCL Displacement Shading

When doing simple scenes the displacement shading failed during final
rendering when the displacement method is set to `Displacement + Bump`.

When this option is enabled the shader uses the Vector math
node. This node is part of the node group level 1. When doing simple
shading only using nodes that are part of the node group level
0 the shading was rendered black.

This only happened in final rendering as there the OpenCL programs are
optimized to save registries. Viewport rendering rendered correctly

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5859

Commit Details:

Full Hash: 36683475d14ca5ff3190461ac378ea8b291330e4
Parent Commit: 5a6ab6f
Lines Changed: +1, -0

1 Modified Path:

/intern/cycles/render/shader.cpp (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021