Blender Git Loki
Git Commits -> Revision 80b3050
Revision 80b3050 by Thomas Dinges (compositor-2016) June 8, 2016, 19:45 (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: 80b305014a392353eb25efe0794cda9564418b80
Parent Commit: 84794b3
Committed By: Jeroen Bakker
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)