blender/intern/cycles
Mai Lavelle e7ea1ae78c 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.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2156
2016-09-01 22:45:49 -04:00
..
app Cycles Standalone: Fix support for subdivision meshes 2016-08-24 10:39:00 -04:00
blender Fix T49163: let Cycles only hide particles with missing motion data, not regular objects. 2016-08-28 21:26:03 +02:00
bvh Cycles: Fix wrong allocator used for spatial builder 2016-08-18 20:47:48 +02:00
cmake CMake: Fix typo in CUDA dynload commit 2016-01-14 12:48:14 +05:00
device Cycles microdisplacement: Allow kernels to be built without patch evaluation 2016-08-15 11:13:18 -04:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
graph Cycles: Fix the Convert Node type registration 2016-06-23 03:15:57 +02:00
kernel Cycles microdisplacement: Improved automatic bump mapping 2016-09-01 22:45:49 -04:00
render Cycles microdisplacement: Improved automatic bump mapping 2016-09-01 22:45:49 -04:00
subd Cycles Standalone: Fix support for subdivision meshes 2016-08-24 10:39:00 -04:00
test Fix T49136: full constant Curves with zero Fac input crashes in assert. 2016-08-22 11:11:45 +03:00
util Cycles: Add single channel texture support for OpenCL. 2016-08-14 20:21:08 +02:00
CMakeLists.txt Cycles microdisplacement: Support for Catmull-Clark subdivision via OpenSubdiv 2016-08-07 11:13:11 -04:00