From 320d8ab1556f1bc76cd9f654476250aebdec101e Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 8 Nov 2019 16:47:33 +0100 Subject: EEVEE: Viewport Renderpasses This patch will allow the user to select the EEVEE renderpass to be shown in the viewport by default the combined pass will be shown. Limitations: * Viewport rendering stores the result in a `RenderResult`. RenderResult is not aware of the type of data it holds. In many places where RenderResult is used it is assumed that it stores a combined pass and the display+view transform are applied. I will propose to fix this in a future patch. But that is still being designed and discussed. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6319 --- source/blender/makesdna/DNA_view3d_defaults.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_view3d_defaults.h') diff --git a/source/blender/makesdna/DNA_view3d_defaults.h b/source/blender/makesdna/DNA_view3d_defaults.h index 365b1993d80..f6c8c0b1f6d 100644 --- a/source/blender/makesdna/DNA_view3d_defaults.h +++ b/source/blender/makesdna/DNA_view3d_defaults.h @@ -46,6 +46,7 @@ .single_color = {0.8f, 0.8f, 0.8f}, \ .background_color = {0.05f, 0.05f, 0.05f}, \ .studiolight_intensity = 1.0f, \ + .render_pass = SCE_PASS_COMBINED, \ } #define _DNA_DEFAULT_View3DOverlay \ -- cgit v1.2.3