blender.git
21 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Mon, 6 Nov 2017 17:02:46 +0000 (18:02 +0100)]
Merge branch 'master' into blender2.8

Conflicts:
intern/cycles/device/device.cpp
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/material.c
source/blender/editors/object/object_add.c
source/blender/editors/object/object_relations.c
source/blender/editors/space_outliner/outliner_draw.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/util/ed_util.c
source/blender/windowmanager/intern/wm_files_link.c

21 months agoEevee: Remove uses of DRW_shgroup_call_dynamic_add_empty in shadows and probe rendering.
Clément Foucault [Mon, 6 Nov 2017 15:54:33 +0000 (16:54 +0100)]
Eevee: Remove uses of DRW_shgroup_call_dynamic_add_empty in shadows and probe rendering.

This was adding an unecessary high number of DRWCall per objects.

21 months agoDRW: Use pseudo persistent memory pool for the rendering data structure.
Clément Foucault [Mon, 6 Nov 2017 15:47:23 +0000 (16:47 +0100)]
DRW: Use pseudo persistent memory pool for the rendering data structure.

This gets rid of the bottleneck of allocation / free of thousands of elements every frame.

Cache time (Eevee) (test scene is default file with cube duplicated 3241 times)
pre-patch: 23ms
post-patch: 14ms

21 months agoRename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.
Bastien Montagne [Mon, 6 Nov 2017 16:17:10 +0000 (17:17 +0100)]
Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.

This makes code closer to id_override/assent-engine ones, which
introduce a new type of linked data, and hence reserve
ID_IS_LINKED_DATABLOCK to real linked datablocks.

21 months agoFix T51604: Support Auto-Smooth in Edit-Mesh
Germano [Mon, 6 Nov 2017 16:14:07 +0000 (14:14 -0200)]
Fix T51604: Support Auto-Smooth in Edit-Mesh
and allocate loop_normals in MeshRenderData instead of CustomData

Differential Revision: D2907

21 months agoFix T53250: Crash when linking/appending a scene to a blend when another linked scene...
Bastien Montagne [Mon, 6 Nov 2017 14:16:40 +0000 (15:16 +0100)]
Fix T53250: Crash when linking/appending a scene to a blend when another linked scene in this blend is currently open/active.

Inner DAG code would not check against NULL pointer, and in case of an
active linked scene, scene pointer will be NULL here, so we have to
check it ourself. ;)

21 months agoDepsgraph: Cleanup, remove obsolete unused function
Sergey Sharybin [Fri, 3 Nov 2017 17:15:09 +0000 (18:15 +0100)]
Depsgraph: Cleanup, remove obsolete unused function

21 months ago epsgraph: Use explicit graph API for sequencer
Sergey Sharybin [Fri, 3 Nov 2017 17:13:53 +0000 (18:13 +0100)]
 epsgraph: Use explicit graph API for sequencer

21 months agoDepsgraph: Use explicit graph API for point cache
Sergey Sharybin [Fri, 3 Nov 2017 17:04:50 +0000 (18:04 +0100)]
Depsgraph: Use explicit graph API for point cache

21 months agoDepsgraph: Use explicit graph API for audio bake
Sergey Sharybin [Fri, 3 Nov 2017 16:59:15 +0000 (17:59 +0100)]
Depsgraph: Use explicit graph API for audio bake

21 months agoDepsgraph: Use explicit graph API for OpenGL render
Sergey Sharybin [Fri, 3 Nov 2017 16:57:46 +0000 (17:57 +0100)]
Depsgraph: Use explicit graph API for OpenGL render

21 months agoDepsgraph: Use new API for alembic C-API
Sergey Sharybin [Fri, 3 Nov 2017 16:52:26 +0000 (17:52 +0100)]
Depsgraph: Use new API for alembic C-API

21 months agoUpdate comment, reference new API function
Sergey Sharybin [Fri, 3 Nov 2017 16:49:28 +0000 (17:49 +0100)]
Update comment, reference new API function

21 months agoDepsgraph: Use new scene update API in preview render
Sergey Sharybin [Fri, 3 Nov 2017 16:48:48 +0000 (17:48 +0100)]
Depsgraph: Use new scene update API in preview render

21 months agoDepsgraph: Make graph to be per-scene-layer for RNA
Sergey Sharybin [Fri, 3 Nov 2017 16:27:13 +0000 (17:27 +0100)]
Depsgraph: Make graph to be per-scene-layer for RNA

New access is C.scene.render_layers.active.depsgraph. This will give depsgraph
for a given layer. In the future there will need to be some extra context to be
passed.

21 months agoDepsgraph: Cleanup, remove depgraph_legacy from evaluation routines
Sergey Sharybin [Fri, 3 Nov 2017 16:04:38 +0000 (17:04 +0100)]
Depsgraph: Cleanup, remove depgraph_legacy from evaluation routines

21 months agoDepsgraph: Cleanup, remove depsgraph_legacy from building routines
Sergey Sharybin [Fri, 3 Nov 2017 16:03:33 +0000 (17:03 +0100)]
Depsgraph: Cleanup, remove depsgraph_legacy from building routines

21 months agoDepsgraph: Cleanup, remove unused function
Sergey Sharybin [Fri, 3 Nov 2017 16:00:00 +0000 (17:00 +0100)]
Depsgraph: Cleanup, remove unused function

21 months agoDepsgraph: Cleanup, remove depsgraph_legacy from depsgraph_tag.cc
Sergey Sharybin [Fri, 3 Nov 2017 15:57:40 +0000 (16:57 +0100)]
Depsgraph: Cleanup, remove depsgraph_legacy from depsgraph_tag.cc

21 months agoDepsgraph: Avoid non-requested allocation of depsgraph
Sergey Sharybin [Fri, 3 Nov 2017 15:49:57 +0000 (16:49 +0100)]
Depsgraph: Avoid non-requested allocation of depsgraph

21 months agoCycles: reduce closure memory usage for emission/shadow shader data.
Brecht Van Lommel [Wed, 1 Nov 2017 20:02:28 +0000 (21:02 +0100)]
Cycles: reduce closure memory usage for emission/shadow shader data.

With a Titan Xp, reduces path trace local memory from 1092MB to 840MB.
Benchmark performance was within 1% with both RX 480 and Titan Xp.

Original patch was implemented by Sergey.

Differential Revision: https://developer.blender.org/D2249

21 months agoCode refactor: sum transparent and absorption weights outside closures.
Brecht Van Lommel [Wed, 1 Nov 2017 20:07:15 +0000 (21:07 +0100)]
Code refactor: sum transparent and absorption weights outside closures.

21 months agoCode refactor: remove emission and background closures, sum directly.
Brecht Van Lommel [Wed, 1 Nov 2017 18:00:42 +0000 (19:00 +0100)]
Code refactor: remove emission and background closures, sum directly.

21 months agoCycles: fix inefficient attribute map storage, saves 615MB in victor scene.
Brecht Van Lommel [Sun, 5 Nov 2017 16:40:36 +0000 (17:40 +0100)]
Cycles: fix inefficient attribute map storage, saves 615MB in victor scene.

21 months agoCode refactor: device memory cleanups, preparing for mapped host memory.
Brecht Van Lommel [Sat, 4 Nov 2017 23:34:30 +0000 (00:34 +0100)]
Code refactor: device memory cleanups, preparing for mapped host memory.

21 months agoCycles: reserve CUDA local memory ahead of time.
Brecht Van Lommel [Sat, 4 Nov 2017 17:06:48 +0000 (18:06 +0100)]
Cycles: reserve CUDA local memory ahead of time.

This way we can log the amount of memory used, and it will be important
for host mapped memory support.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 5 Nov 2017 13:07:19 +0000 (00:07 +1100)]
Merge branch 'master' into blender2.8

21 months agoCleanup: order buffer length after the buffer
Campbell Barton [Sun, 5 Nov 2017 13:04:46 +0000 (00:04 +1100)]
Cleanup: order buffer length after the buffer

21 months agoCleanup: remove paranoid NULL check
Campbell Barton [Sun, 5 Nov 2017 12:34:40 +0000 (23:34 +1100)]
Cleanup: remove paranoid NULL check

21 months agoCleanup: indentation, line wrapping
Campbell Barton [Sun, 5 Nov 2017 03:50:15 +0000 (14:50 +1100)]
Cleanup: indentation, line wrapping

21 months agoCleanup: spelling
Campbell Barton [Sun, 5 Nov 2017 03:33:18 +0000 (14:33 +1100)]
Cleanup: spelling

21 months agoFix broken macOS build with libsndfile, name is different than in master.
Brecht Van Lommel [Sat, 4 Nov 2017 16:48:46 +0000 (17:48 +0100)]
Fix broken macOS build with libsndfile, name is different than in 

21 months agoTool System: Don't add duplicate keymap items
Campbell Barton [Sat, 4 Nov 2017 14:38:51 +0000 (01:38 +1100)]
Tool System: Don't add duplicate keymap items

21 months agoUI: show tool-tips for each tools shortcuts
Campbell Barton [Sat, 4 Nov 2017 14:29:52 +0000 (01:29 +1100)]
UI: show tool-tips for each tools shortcuts

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sat, 4 Nov 2017 10:45:52 +0000 (21:45 +1100)]
Merge branch 'master' into blender2.8

21 months agoUI: tool-tip refactor, don't hard code field types
Campbell Barton [Sat, 4 Nov 2017 08:24:43 +0000 (19:24 +1100)]
UI: tool-tip refactor, don't hard code field types

Allow other kinds of tips be created w/o exceeding hard limits.

21 months agoUI: correct flag re-use
Campbell Barton [Sat, 4 Nov 2017 03:10:04 +0000 (14:10 +1100)]
UI: correct flag re-use

Adding ability to show a button as pressed w/o UI_SELECT set caused
other flags to be cleared that shouldn't have been.

21 months agoCode refactor: replace CUDA array with linear memory for 1D and 2D textures.
Brecht Van Lommel [Fri, 3 Nov 2017 20:28:13 +0000 (21:28 +0100)]
Code refactor: replace CUDA array with linear memory for 1D and 2D textures.

This is a prequisite for getting host memory allocation to work. There appears
to be no support for 3D textures using host memory. The original version of
this code was written by Stefan Werner for D2056.

21 months agoFix T53247: mixed CPU + GPU render wrong texture limits.
Brecht Van Lommel [Fri, 3 Nov 2017 19:21:19 +0000 (20:21 +0100)]
Fix T53247: mixed CPU + GPU render wrong texture limits.

21 months agoScene API: Switch to explicit scene graph update API
Sergey Sharybin [Fri, 3 Nov 2017 15:35:12 +0000 (16:35 +0100)]
Scene API: Switch to explicit scene graph update API

This is part of lets-get-rid-of-scene->legacy_depsgraph work

21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 3 Nov 2017 15:31:53 +0000 (16:31 +0100)]
Merge branch 'master' into blender2.8

21 months agoScene RNA API: More global mains goes away
Sergey Sharybin [Fri, 3 Nov 2017 15:28:37 +0000 (16:28 +0100)]
Scene RNA API: More global mains goes away

21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 3 Nov 2017 15:17:01 +0000 (16:17 +0100)]
Merge branch 'master' into blender2.8

21 months agoScene RNA API: Main from globals goes away
Sergey Sharybin [Fri, 3 Nov 2017 15:15:49 +0000 (16:15 +0100)]
Scene RNA API: Main from globals goes away

Bye bye..

21 months agoDepsgraph: Use explicit depsgraph in object add
Sergey Sharybin [Fri, 3 Nov 2017 14:46:12 +0000 (15:46 +0100)]
Depsgraph: Use explicit depsgraph in object add

21 months agoDepsgraph: Port more areas to direct depsgraph API
Sergey Sharybin [Fri, 3 Nov 2017 13:36:49 +0000 (14:36 +0100)]
Depsgraph: Port more areas to direct depsgraph API

This is a lots of changes, but they are boiling down to a simple API
changes where we are no longer relying on implicit usage of scene's
depsgraph and pass depsgraph explicitly.

There should be no user measurable difference, render_layer* tests
are also passing.

21 months agoDepsgraph: Use explicit graph API in transform code
Sergey Sharybin [Fri, 3 Nov 2017 13:05:49 +0000 (14:05 +0100)]
Depsgraph: Use explicit graph API in transform code

21 months agoDepsgraph: Add utility function to tag ID for update within a specific graph
Sergey Sharybin [Fri, 3 Nov 2017 11:10:04 +0000 (12:10 +0100)]
Depsgraph: Add utility function to tag ID for update within a specific graph

21 months agoDepsgraph: Use explicit depsgraph in alembic module
Sergey Sharybin [Fri, 3 Nov 2017 11:02:39 +0000 (12:02 +0100)]
Depsgraph: Use explicit depsgraph in alembic module

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 3 Nov 2017 10:22:27 +0000 (21:22 +1100)]
Merge branch 'master' into blender2.8

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 3 Nov 2017 09:59:15 +0000 (20:59 +1100)]
Merge branch 'master' into blender2.8

21 months agoCleanup: split interface_regions.c
Campbell Barton [Fri, 3 Nov 2017 09:26:35 +0000 (20:26 +1100)]
Cleanup: split interface_regions.c

Each region type is quite separate and file was getting too big.

21 months agoFix incorrect allocation size
Campbell Barton [Fri, 3 Nov 2017 08:23:47 +0000 (19:23 +1100)]
Fix incorrect allocation size

21 months agoCleanup: move tool-bar checks into functions
Campbell Barton [Fri, 3 Nov 2017 05:30:51 +0000 (16:30 +1100)]
Cleanup: move tool-bar checks into functions

Also support separator in tool-bar sub-menus

21 months agoFix Blenderplayer (tm)
Jens Verwiebe [Thu, 2 Nov 2017 23:39:50 +0000 (00:39 +0100)]
Fix Blenderplayer (tm)

21 months agoFreestyle: Fix access freed memory when freeing fresstyle bmain
Sergey Sharybin [Thu, 2 Nov 2017 16:58:11 +0000 (17:58 +0100)]
Freestyle: Fix access freed memory when freeing fresstyle bmain

Some of the uninitializaiton code was leaving bases pointing freed memory.

21 months agoFix iterator usage from C++ code
Sergey Sharybin [Thu, 2 Nov 2017 16:54:06 +0000 (17:54 +0100)]
Fix iterator usage from C++ code

Old code was not supported by GCC, see some details and progress

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606

21 months agoFreestyle: Keep lines on manageable complexity
Sergey Sharybin [Thu, 2 Nov 2017 15:01:16 +0000 (16:01 +0100)]
Freestyle: Keep lines on manageable complexity

Two level;s of casts in a single line, c'mon.

21 months agoFix Cycles showing empty tiles while they are being denoised.
Brecht Van Lommel [Thu, 2 Nov 2017 14:05:57 +0000 (15:05 +0100)]
Fix Cycles showing empty tiles while they are being denoised.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 2 Nov 2017 14:16:10 +0000 (01:16 +1100)]
Merge branch 'master' into blender2.8

21 months agoCleanup: minor comment correction
Campbell Barton [Thu, 2 Nov 2017 14:10:03 +0000 (01:10 +1100)]
Cleanup: minor comment correction

21 months agoUI: add UI_SELECT_DRAW flag
Campbell Barton [Thu, 2 Nov 2017 13:45:30 +0000 (00:45 +1100)]
UI: add UI_SELECT_DRAW flag

Allow to draw as pressed w/o interfering with behavior.

Resolves issue where buttons raised on mouse-over.

21 months agoMerge branch 'master' into blender2.8
Sybren A. Stüvel [Thu, 2 Nov 2017 13:37:10 +0000 (14:37 +0100)]
Merge branch 'master' into blender2.8

# Conflicts:
# tests/gtests/alembic/abc_export_test.cc

21 months agoAlembic: not using global in unit test.
Sybren A. Stüvel [Thu, 2 Nov 2017 13:33:13 +0000 (14:33 +0100)]
Alembic: not using global in unit test.

Thanks @sergey for pointing out this fix.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 2 Nov 2017 13:31:47 +0000 (00:31 +1100)]
Merge branch 'master' into blender2.8

21 months agoFix T53182: cancelling save buffers + denoising render clears image.
Brecht Van Lommel [Thu, 2 Nov 2017 13:29:42 +0000 (14:29 +0100)]
Fix T53182: cancelling save buffers + denoising render clears image.

21 months agoUI: free up bit in uiBut.flag
Campbell Barton [Thu, 2 Nov 2017 13:22:59 +0000 (00:22 +1100)]
UI: free up bit in uiBut.flag

21 months agoUI: workaround glitch refreshing the toolbar
Campbell Barton [Thu, 2 Nov 2017 12:52:03 +0000 (23:52 +1100)]
UI: workaround glitch refreshing the toolbar

21 months agoUI: draw operator menus below buttons
Campbell Barton [Thu, 2 Nov 2017 12:43:51 +0000 (23:43 +1100)]
UI: draw operator menus below buttons

Following the down arrow on the buttons

21 months agoUI: store tool index of non-active tools
Campbell Barton [Thu, 2 Nov 2017 12:30:01 +0000 (23:30 +1100)]
UI: store tool index of non-active tools

21 months agoCycles: Add another limit to OpenCL memory usage
Mai Lavelle [Thu, 2 Nov 2017 12:10:24 +0000 (08:10 -0400)]
Cycles: Add another limit to OpenCL memory usage

Some drivers may report very large allocation sizes, which could cause
unnecessary memory usage. This is now limited to 2gb which should
still be enough to get the needed performance benefits without waste.

21 months agoUI: support nested tools in toolbar
Campbell Barton [Thu, 2 Nov 2017 12:05:13 +0000 (23:05 +1100)]
UI: support nested tools in toolbar

21 months agoSpace clip: Make it more clear that filter track does not use any settings from tool...
Sergey Sharybin [Thu, 2 Nov 2017 11:33:39 +0000 (12:33 +0100)]
Space clip: Make it more clear that filter track does not use any settings from tool shelf

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 2 Nov 2017 07:25:47 +0000 (18:25 +1100)]
Merge branch 'master' into blender2.8

21 months agoUI: use button_operator in operator_menu_hold
Campbell Barton [Thu, 2 Nov 2017 07:19:11 +0000 (18:19 +1100)]
UI: use button_operator in operator_menu_hold

Move draw calls into UI_menutype_draw

21 months agoUI: draw active tool pushed in
Campbell Barton [Thu, 2 Nov 2017 04:52:16 +0000 (15:52 +1100)]
UI: draw active tool pushed in

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 2 Nov 2017 04:44:33 +0000 (15:44 +1100)]
Merge branch 'master' into blender2.8

21 months agoCleanup: code style
Campbell Barton [Thu, 2 Nov 2017 04:09:11 +0000 (15:09 +1100)]
Cleanup: code style

21 months agoImplement a new automatic handle algorithm to produce smooth F-Curves.
Alexander Gavrilov [Wed, 1 Nov 2017 18:34:30 +0000 (21:34 +0300)]
Implement a new automatic handle algorithm to produce smooth F-Curves.

The legacy algorithm only considers two adjacent points when computing
the bezier handles, which cannot produce satisfactory results. Animators
are often forced to manually adjust all curves.

The new approach instead solves a system of equations to trace a cubic spline
with continuous second derivative through the whole segment of auto points,
delimited at ends by keyframes with handles set by other requirements.

This algorithm also adjusts Vector handles that face ordinary bezier keyframes
to achieve zero acceleration at the Vector keyframe, instead of simply pointing
it at the adjacent point.

Original idea and implementation by Benoit Bolsee <benoit.bolsee@online.be>;
code mostly rewritten to improve code clarity and extensibility.

Reviewers: aligorith

Differential Revision: https://developer.blender.org/D2884

21 months agoCleanup: use term shape-preset in widget code
Campbell Barton [Wed, 1 Nov 2017 18:48:14 +0000 (05:48 +1100)]
Cleanup: use term shape-preset in widget code

21 months agoUI: Option to draw button pressed
Campbell Barton [Wed, 1 Nov 2017 18:00:09 +0000 (05:00 +1100)]
UI: Option to draw button pressed

Needed to show the active tool

21 months agoUI: Add UILayout.operator_menu_hold
Campbell Barton [Wed, 1 Nov 2017 17:30:07 +0000 (04:30 +1100)]
UI: Add UILayout.operator_menu_hold

This is an operator button that opens a menu when the button is held.

21 months agoEevee: Fix Black volumetrics.
Clément Foucault [Wed, 1 Nov 2017 17:48:55 +0000 (18:48 +0100)]
Eevee: Fix Black volumetrics.

Was caused by a division by 0.

21 months agoFix T53217: GLSL principled BSDF black with zero clearcoat roughness.
Brecht Van Lommel [Wed, 1 Nov 2017 16:12:36 +0000 (17:12 +0100)]
Fix T53217: GLSL principled BSDF black with zero clearcoat roughness.

21 months agoEevee: Fix crash when using only 1 viewport sample + volumetrics
Clément Foucault [Wed, 1 Nov 2017 15:50:06 +0000 (16:50 +0100)]
Eevee: Fix crash when using only 1 viewport sample + volumetrics

21 months agoEevee: Fix refraction & alpha blend object disapearing
Clément Foucault [Wed, 1 Nov 2017 15:36:05 +0000 (16:36 +0100)]
Eevee: Fix refraction & alpha blend object disapearing

21 months agoEevee: Remove unecessary planar_minmaxz
Clément Foucault [Wed, 1 Nov 2017 15:19:07 +0000 (16:19 +0100)]
Eevee: Remove unecessary planar_minmaxz

21 months agoEevee: Do not allocate minz buffer.
Clément Foucault [Wed, 1 Nov 2017 15:17:33 +0000 (16:17 +0100)]
Eevee: Do not allocate minz buffer.

It's not needed for now.

21 months agoCycles: Add utility function to distinguish between scatter and absorption volume ID
Sergey Sharybin [Wed, 1 Nov 2017 10:10:51 +0000 (11:10 +0100)]
Cycles: Add utility function to distinguish between scatter and absorption volume ID

21 months agoCycles: Cleanup, make it more obvious what preprocessor belongs to
Sergey Sharybin [Wed, 1 Nov 2017 10:10:10 +0000 (11:10 +0100)]
Cycles: Cleanup, make it more obvious what preprocessor belongs to

21 months agoCycles: Cleanup, delete trailing whitespace
Sergey Sharybin [Wed, 1 Nov 2017 10:06:55 +0000 (11:06 +0100)]
Cycles: Cleanup, delete trailing whitespace

21 months agoFix for T48988 - Enabling bbone easing for posemode
Joshua Leung [Wed, 1 Nov 2017 00:38:51 +0000 (13:38 +1300)]
Fix for T48988 - Enabling bbone easing for posemode

This fix enables the usage of bbones easing parameters for edit and pose mode seperately. This allows animators to take advantage of the functionality and may eliminate confusion as the parameters now behave similar to other bbone parameters.

Note that splitting the parameters between the modes effectively creates a new parameter set. Blend files of previous versions do not contain this information and will have the values set to 0 on load. As it broke backwards compatibility for pose mode values anyway, I also took the liberty to rename the easing parameters in some places for consistency (which breaks edit mode values).

Reviewers: aligorith

Subscribers: aligorith

Tags: #animation

Differential Revision: https://developer.blender.org/D2796

21 months agoCleanup: style
Campbell Barton [Wed, 1 Nov 2017 00:56:56 +0000 (11:56 +1100)]
Cleanup: style

21 months agoEevee: SSR: Use max lod on planar reflections.
Clément Foucault [Wed, 1 Nov 2017 00:08:58 +0000 (01:08 +0100)]
Eevee: SSR: Use max lod on planar reflections.

21 months agoEevee: Fix Bad AO on opaque refractive geometry.
Clément Foucault [Wed, 1 Nov 2017 00:06:19 +0000 (01:06 +0100)]
Eevee: Fix Bad AO on opaque refractive geometry.

21 months agoEevee: Effects: Split each effect in it's own file.
Clément Foucault [Wed, 1 Nov 2017 00:03:36 +0000 (01:03 +0100)]
Eevee: Effects: Split each effect in it's own file.

This also:
- make sure to only compile the shader needed by the active effects.
- same thing for the shading groups.
- disable TAA if motion blur is active (avoid infinite refresh).

21 months agoDraw Manager: Fix crash when trying to order an empty shading group.
Clément Foucault [Tue, 31 Oct 2017 23:57:25 +0000 (00:57 +0100)]
Draw Manager: Fix crash when trying to order an empty shading group.

This fix crash when using only the volume output with an alpha blend material

21 months agoEevee: Fix Exponent default in versioning code
Clément Foucault [Tue, 31 Oct 2017 23:54:47 +0000 (00:54 +0100)]
Eevee: Fix Exponent default in versioning code

21 months agoEevee: Silence warning
Clément Foucault [Sat, 28 Oct 2017 12:08:30 +0000 (14:08 +0200)]
Eevee: Silence warning

21 months agoMesh Auto-Smooth Split Normal Support
Germano [Tue, 31 Oct 2017 17:15:14 +0000 (15:15 -0200)]
Mesh Auto-Smooth Split Normal Support

From D2906 with few changes