Blender Git Loki
Git Commits -> Revision 3c85e1c
Revision 3c85e1c by Thomas Dinges (master) May 12, 2016, 12:51 (GMT) |
Cycles: Add support for single channel byte textures. This way, we also save 3/4th of memory for single channel byte textures (e.g. Bump Maps). Note: In order for this to work, the texture *must* have 1 channel only. In Gimp you can e.g. do that via the menu: Image -> Mode -> Grayscale |
Commit Details:
Full Hash: 3c85e1ca1a916fe2ded9ab508f4cd55a2ee22549
Parent Commit: cde10e7
Lines Changed: +154, -20
7 Modified Paths:
/intern/cycles/kernel/kernels/cpu/kernel.cpp (+16, -0) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+13, -3) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -0) (Diff)
/intern/cycles/render/image.cpp (+112, -17) (Diff)
/intern/cycles/render/image.h (+3, -0) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_texture.h (+8, -0) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+13, -3) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -0) (Diff)
/intern/cycles/render/image.cpp (+112, -17) (Diff)
/intern/cycles/render/image.h (+3, -0) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_texture.h (+8, -0) (Diff)