Cycles: float texture support. Due to GPU limitations there are now 95 byte,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 7 Mar 2012 12:27:18 +0000 (12:27 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 7 Mar 2012 12:27:18 +0000 (12:27 +0000)
commit9fba458a7fe535e60f5c6beee9757fe25ffe2d49
treee625eb73d3da32a01c84385e1976f81d2f8b92bd
parentbdf731f03d727d3862537c59fa11477b77eb60b0
Cycles: float texture support. Due to GPU limitations there are now 95 byte,
and 5 float image textures. For CPU render this limit will be lifted later
on with image cache support. Patch by Mike Farnsworth.

Also changed color space option in image/environment texture node, to show
options Color and Non-Color Data, instead of sRGB and Linear, this is more
descriptive, and it was not really correct to equate Non-Color Data with
Linear.
12 files changed:
intern/cycles/kernel/kernel.cpp
intern/cycles/kernel/kernel_textures.h
intern/cycles/kernel/svm/svm_image.h
intern/cycles/render/image.cpp
intern/cycles/render/image.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
intern/cycles/render/scene.h
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/nodes/shader/nodes/node_shader_tex_environment.c
source/blender/nodes/shader/nodes/node_shader_tex_image.c