Blender Git Loki

Git Commits -> Revision 0639ba8

Revision 0639ba8 by Thomas Dinges (master)
November 18, 2015, 17:47 (GMT)
Cycles / Shader graph: Fallback to Sharp closures for very small roughness.

We fallback to Sharp closures for Glossy, Glass and Refraction nodes now, in case the Roughness input is disconnected and 0 (< 1e-4f to be exact).
This way we gain a few percentages of performance, in case the user did not manually set the closure type to "Sharp" in the UI.

Sharp will probably be removed from the UI as a followup, not needed anymore with this internal optimization.

Original idea by Lukas Stockner(Differential Revision: https://developer.blender.org/D1439), code implementation by myself.

Commit Details:

Full Hash: 0639ba8ea58bc775bfa3436e1ba9831ece78404d
Parent Commit: 836c69c
Lines Changed: +59, -1

4 Modified Paths:

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