diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-07-17 00:49:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-07-24 16:28:27 +0300 |
commit | 2a84331f02d08092aa42b3870693d09b18744b4b (patch) | |
tree | f3d0a3d83f39bf43b2a69e651cde177ae2e95c95 /release/scripts/startup/bl_ui/properties_render_layer.py | |
parent | 04f8e1b21c716b6d4eefed6678d036cd0c96d4d2 (diff) |
Eevee: SSR: Output ssr datas to buffers.
Output in 2 buffers Normals, Specular Color and roughness.
This way we can raytrace in a defered fashion and blend the exact contribution of the specular lobe on top of the opaque pass.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render_layer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render_layer.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render_layer.py b/release/scripts/startup/bl_ui/properties_render_layer.py index 450e3863965..be39de65964 100644 --- a/release/scripts/startup/bl_ui/properties_render_layer.py +++ b/release/scripts/startup/bl_ui/properties_render_layer.py @@ -250,6 +250,26 @@ class RENDERLAYER_PT_eevee_volumetric(RenderLayerButtonsPanel, Panel): col.template_override_property(layer_props, scene_props, "volumetric_colored_transmittance") +class RENDERLAYER_PT_eevee_shading(RenderLayerButtonsPanel, Panel): + bl_label = "Shading" + COMPAT_ENGINES = {'BLENDER_EEVEE'} + + @classmethod + def poll(cls, context): + scene = context.scene + return scene and (scene.render.engine in cls.COMPAT_ENGINES) + + def draw(self, context): + layout = self.layout + scene = context.scene + scene_props = scene.layer_properties['BLENDER_EEVEE'] + layer = bpy.context.render_layer + layer_props = layer.engine_overrides['BLENDER_EEVEE'] + + col = layout.column() + col.template_override_property(layer_props, scene_props, "ssr_enable") + + classes = ( RENDERLAYER_UL_renderlayers, RENDERLAYER_PT_layers, @@ -258,6 +278,7 @@ classes = ( RENDERLAYER_PT_clay_settings, RENDERLAYER_PT_eevee_poststack_settings, RENDERLAYER_PT_eevee_postprocess_settings, + RENDERLAYER_PT_eevee_shading, RENDERLAYER_PT_eevee_volumetric, ) |