Blender Git Commit Log

Git Commits -> Revision 4b606da

August 18, 2016, 16:20 (GMT)
Cycles microdisplacement: Improved automatic bump mapping

Object coordinates can now be used in the displacement shader and will give
correct results, where as before bump mapping was calculated from the displace
positions and resulted in incorrect shading.

This works by evaluating the shader in two parts, first bump then surface, and
setting the shader state to match what it would be if the surface was
undisplaced for the bump shader evaluation. Currently only `P` is set as if
undisplaced, but other shader variables could be set as well, such as `I` or
`time`. Since these aren't set to anything meaningful for displacement I left
them out of this patch, we can decide what to do with them separately.

Commit Details:

Full Hash: 4b606da5a6021fe9f20a1bdeeeea7d923abf6fcb
Parent Commit: f84e760
Lines Changed: +181, -52

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019