tornavis/source/blender
Clément Foucault a2b05accea Eevee: Fix vertex color being in srgb space.
Now they are properly converted to Linear space before interpolation.

Since the only way to get vertex color in eevee and cycles is via the
attribute node with the CD_AUTO_FROM_NAME flag, we have to know at binding
time which type of buffer will be connected to this auto input.

We store this information inside the batch cache (together with the according
uniform name) and pass it as uniform to the shader which does conversion if
needed. The same shader can then be reused to draw another mesh with
different auto layers configuration.
2018-05-02 16:45:08 +02:00
..
alembic Cleanup: fix compiler warnings on macOS / clang. 2018-04-28 16:28:19 +02:00
avi Fix buffer overflows in TIFF, PNG, IRIS, DPX, HDR and AVI loading. 2018-01-17 19:59:47 +01:00
blenfont BLF: Fix problem with drawing with fonts with multiple size. 2018-04-26 14:21:16 +02:00
blenkernel Renamed 1st parameter of BKE_bmesh_to_mesh from `me` to `be` 2018-05-02 16:39:22 +02:00
blenlib Merge branch 'master' into blender2.8 2018-05-02 12:46:14 +02:00
blenloader Mesh: move runtime members to own struct 2018-05-02 15:48:17 +02:00
blentranslation Merge branch 'master' into blender2.8 2018-02-15 14:15:55 +01:00
bmesh Multi-Object Editing 2018-04-16 17:56:50 +02:00
collada Cleanup: fix compiler warnings on macOS / clang. 2018-04-28 16:28:19 +02:00
compositor Merge branch 'master' into blender2.8 2018-05-02 12:46:14 +02:00
datatoc
depsgraph Depsgraph: Add missing relations needed for nested datablock relations 2018-05-01 13:22:55 +02:00
draw Eevee: Fix vertex color being in srgb space. 2018-05-02 16:45:08 +02:00
editors Static Override: Move 'auto' flag into override struct, expose it to RNA. 2018-05-02 16:15:52 +02:00
freestyle Remove Blender Internal and legacy viewport from Blender 2.8. 2018-04-19 17:35:25 +02:00
gpu Eevee: Fix vertex color being in srgb space. 2018-05-02 16:45:08 +02:00
ikplugin Removing Blender Game Engine from Blender 2.8 2018-04-17 17:51:28 +02:00
imbuf Removing Blender Game Engine from Blender 2.8 2018-04-17 17:51:28 +02:00
makesdna Static Override: Move 'auto' flag into override struct, expose it to RNA. 2018-05-02 16:15:52 +02:00
makesrna Static Override: Move 'auto' flag into override struct, expose it to RNA. 2018-05-02 16:15:52 +02:00
modifiers Modifiers: ported Skin modifier DerivedMesh → Mesh 2018-05-02 16:39:22 +02:00
nodes Workspaces: active view layer now always comes from workspace, not scene. 2018-04-26 17:06:14 +02:00
physics Remove Blender Internal and legacy viewport from Blender 2.8. 2018-04-19 17:35:25 +02:00
python Icons: correct arg parsing 2018-04-26 15:18:00 +02:00
render Merge branch 'master' into blender2.8 2018-05-02 14:40:00 +02:00
windowmanager WM: utility to check if an operator will draw a UI 2018-05-02 11:03:03 +02:00
CMakeLists.txt Removing Blender Game Engine from Blender 2.8 2018-04-17 17:51:28 +02:00