blender/intern/cycles/render
Brecht Van Lommel 7aaa7aa9dd Images: change alpha settings to support channel packing
This also replaces the Use Alpha setting. We now have these alpha modes:

* Straight: store RGB and alpha channels separately with alpha acting as a
  mask, also known as unassociated alpha.
* Premultiplied: transparent RGB pixels are multiplied by the alpha channel.
  The natural format for renders.
* Channel Packed: different images are packed in the RGB and alpha channels,
  and they should not influence each other. Channel packing is commonly used
  by game engines to save memory.
* None: ignore alpha channel from the file and make image fully opaque.

Cycles OSL does not correctly support Channel Packed and None yet, we are
missing fine control over the OpenImageIO texture cache to do that.

Fixes T53672
2019-05-19 14:36:42 +02:00
..
attribute.cpp Merge branch 'blender2.7' 2019-04-25 14:31:45 +02:00
attribute.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
background.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
background.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
bake.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
bake.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
buffers.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
buffers.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
camera.cpp Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
camera.h Fix T62408: Cycles viewport adaptive subdivision hangs after updates 2019-04-21 03:05:38 +02:00
CMakeLists.txt Cycles: add colorspace manager class and utilities based on OpenColorIO 2019-05-03 15:42:49 +02:00
colorspace.cpp Images: don't (un)premultipy non-color data 2019-05-19 14:36:42 +02:00
colorspace.h Images: don't (un)premultipy non-color data 2019-05-19 14:36:42 +02:00
constant_fold.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
constant_fold.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
coverage.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
coverage.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
curves.cpp Cycles: remove hair minimum width support. 2019-04-24 14:39:47 +02:00
curves.h Cycles: remove hair minimum width support. 2019-04-24 14:39:47 +02:00
denoising.cpp Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
denoising.h Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
film.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
film.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
graph.cpp Cycles/Eevee: add Emission and Alpha inputs to Principled BSDF 2019-05-13 15:56:11 +02:00
graph.h Cycles/Eevee: add Emission and Alpha inputs to Principled BSDF 2019-05-13 15:56:11 +02:00
image.cpp Images: change alpha settings to support channel packing 2019-05-19 14:36:42 +02:00
image.h Images: change alpha settings to support channel packing 2019-05-19 14:36:42 +02:00
integrator.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
integrator.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
light.cpp Lights: change sun light size to be specified as angle 2019-05-15 16:07:50 +02:00
light.h Lights: change sun light size to be specified as angle 2019-05-15 16:07:50 +02:00
merge.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
merge.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
mesh_displace.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
mesh_subdivision.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
mesh_volume.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
mesh.cpp Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
mesh.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
nodes.cpp Images: change alpha settings to support channel packing 2019-05-19 14:36:42 +02:00
nodes.h Images: change alpha settings to support channel packing 2019-05-19 14:36:42 +02:00
object.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
object.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
osl.cpp Fix Cycles build error after recent changes 2019-05-14 15:06:23 +02:00
osl.h Fix T64515, T60434: crash in OSL and preview render after recent changes 2019-05-14 12:24:15 +02:00
particles.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
particles.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
scene.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
scene.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
session.cpp Fix T63796: Cycles OSL shader with closure not working in final render. 2019-04-23 18:53:37 +02:00
session.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
shader.cpp Cycles: support loading images from arbitrary OpenColorIO color space 2019-05-03 15:42:49 +02:00
shader.h Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
sobol.cpp ClangFormat: manually format sobol.cpp 2019-04-17 06:35:07 +02:00
sobol.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
stats.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
stats.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
svm.cpp Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
svm.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
tables.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
tables.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
tile.cpp Cleanup: comments (long lines) in cycles 2019-05-01 21:41:07 +10:00
tile.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00