DrawEngines: Depth Of Field Units
authorJeroen Bakker <j.bakker@atmind.nl>
Wed, 22 May 2019 13:22:10 +0000 (15:22 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Wed, 22 May 2019 14:16:20 +0000 (16:16 +0200)
commit04fa0511ca5ec305356a6060b25e2845053d62d6
tree7ba3efd71c69c52b511b9e72fbb90d66d83b3940
parent8b52619ff82279e1e97785e2352ed9f4782a3741
DrawEngines: Depth Of Field Units

The unit system is designed for displaying and editing and not for
rendering. Eevee, Workbench and GPencil used these settings to convert
the focal length and sensor size to world units. Making depth of field
render differently with Cycles.

For now we will remove the scale in the draw engines to match cycles,
until we implemented a camera parameters specific scale.

Reviewed By: brecht, fclem

Maniphest Tasks: T64988

Differential Revision: https://developer.blender.org/D4925
source/blender/draw/engines/eevee/eevee_depth_of_field.c
source/blender/draw/engines/gpencil/gpencil_shader_fx.c
source/blender/draw/engines/workbench/workbench_effect_dof.c