blender/intern
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
..
atomic Fix building on NetBSD 2016-07-19 22:04:14 +10:00
audaspace Audapsace: Make it work with Jack and no libjack-dev package installed 2016-08-01 20:39:54 +02:00
container Remove SCons building system 2016-01-04 14:20:48 +05:00
cycles Cycles microdisplacement: Improved automatic bump mapping 2016-09-01 22:45:49 -04:00
decklink Cleanup: comment blocks 2016-07-02 10:08:33 +10:00
dualcon Remove SCons building system 2016-01-04 14:20:48 +05:00
eigen Remove SCons building system 2016-01-04 14:20:48 +05:00
elbeem Cleanup: Reduce amount of misleading indentation 2016-09-01 12:14:16 +02:00
ffmpeg Fix compilation error with FFmpeg and Ubuntu Trusty 2016-02-19 22:05:06 +01:00
ghost Fix T49215 2016-09-01 14:00:20 -06:00
glew-mx Remove SCons building system 2016-01-04 14:20:48 +05:00
gpudirect Cleanup: comment blocks 2016-07-02 10:08:33 +10:00
guardedalloc Cleanup: comment blocks 2016-07-15 02:39:45 +10:00
iksolver CMake: add missing headers 2016-04-12 11:22:30 +10:00
itasc Cleanup: Reduce amount of misleading indentation 2016-09-01 12:14:16 +02:00
libmv fix comparison of identicals 2016-07-21 18:16:08 -04:00
locale Remove SCons building system 2016-01-04 14:20:48 +05:00
memutil Remove SCons building system 2016-01-04 14:20:48 +05:00
mikktspace Cleanup: warning 2016-03-13 15:15:38 +11:00
moto BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
opencolorio Cleanup: glsl style 2016-05-26 18:53:09 +10:00
opensubdiv Fix OpenSubdiv driver crash due to recently added uninitialized field. 2016-08-20 13:48:29 +03:00
openvdb Fix T48236: OpenVDB smoke cache glitches out with smokeless flames. 2016-04-22 11:46:02 +02:00
rigidbody Remove SCons building system 2016-01-04 14:20:48 +05:00
smoke Fix T43220, T47551: collider scaling or rotation causes smoke to explode. 2016-08-02 19:47:31 +03:00
string Remove SCons building system 2016-01-04 14:20:48 +05:00
utfconv Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt BGE: DeckLink card support for video capture and streaming. 2016-06-11 22:26:05 +02:00