Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well.
authorThomas Dinges <blender@dingto.org>
Sun, 14 Aug 2016 20:22:21 +0000 (22:22 +0200)
committerThomas Dinges <blender@dingto.org>
Sun, 14 Aug 2016 20:24:29 +0000 (22:24 +0200)
commita18b2ba64366bd1a4c9a729aaafce68ab1fee5a7
treed1c552d41fed1078c2504dc6e138c671a3192780
parent9396e11180fbdc380f06dbd4c696a9c39ff32ec9
Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well.

Note: This only works for textures loaded from disk via OIIO, not packed textures. That's still a ToDo.
intern/cycles/render/image.cpp