Map Range: added the same infinity clamping for Z buffer as normalize node.
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 30 Nov 2012 13:17:19 +0000 (13:17 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 30 Nov 2012 13:17:19 +0000 (13:17 +0000)
commit7fa7ce297edee80258938c5c82837dcd8ab8377a
tree3ee3791c14c755cda6013eac853550ef458a8cb4
parent4f8f5746a8f3a72d54dab44a2b30d2d144891b77
Map Range: added the same infinity clamping for Z buffer as normalize node.

Think should be pretty much harmless since if this node was used for buffers
with infinities it already showed artifacts. Now it should be more useful for
mapping Z buffers.
source/blender/compositor/operations/COM_MapRangeOperation.cpp