mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 07:22:12 -05:00
Cleanup: remove unused EEVEE panels
Besides being unused, some contained errors and would not have worked if used.
This commit is contained in:
parent
42657cd1b6
commit
e10b0b3449
6 changed files with 1 additions and 574 deletions
|
@ -202,101 +202,6 @@ class DATA_PT_EEVEE_light_influence(DataButtonsPanel, Panel):
|
|||
sub.prop(light, "volume_factor", text="Volume Scatter", text_ctxt=i18n_contexts.id_id)
|
||||
|
||||
|
||||
class DATA_PT_EEVEE_shadow(DataButtonsPanel, Panel):
|
||||
bl_label = "Shadow"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
light = context.light
|
||||
engine = context.engine
|
||||
return (
|
||||
(light and light.type in {'POINT', 'SUN', 'SPOT', 'AREA'}) and
|
||||
(engine in cls.COMPAT_ENGINES)
|
||||
)
|
||||
|
||||
def draw_header(self, context):
|
||||
light = context.light
|
||||
self.layout.prop(light, "use_shadow", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
light = context.light
|
||||
|
||||
layout.active = light.use_shadow
|
||||
|
||||
col = layout.column()
|
||||
sub = col.column(align=True)
|
||||
if light.type != 'SUN':
|
||||
sub.prop(light, "shadow_buffer_clip_start", text="Clip Start")
|
||||
|
||||
col.prop(light, "shadow_buffer_bias", text="Bias")
|
||||
|
||||
|
||||
class DATA_PT_EEVEE_shadow_cascaded_shadow_map(DataButtonsPanel, Panel):
|
||||
bl_label = "Cascaded Shadow Map"
|
||||
bl_parent_id = "DATA_PT_EEVEE_shadow"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
light = context.light
|
||||
engine = context.engine
|
||||
|
||||
return (light and light.type == 'SUN') and (engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
light = context.light
|
||||
layout.use_property_split = True
|
||||
|
||||
col = layout.column()
|
||||
|
||||
col.prop(light, "shadow_cascade_count", text="Count")
|
||||
col.prop(light, "shadow_cascade_fade", text="Fade")
|
||||
|
||||
col.prop(light, "shadow_cascade_max_distance", text="Max Distance")
|
||||
col.prop(light, "shadow_cascade_exponent", text="Distribution")
|
||||
|
||||
|
||||
class DATA_PT_EEVEE_shadow_contact(DataButtonsPanel, Panel):
|
||||
bl_label = "Contact Shadows"
|
||||
bl_parent_id = "DATA_PT_EEVEE_shadow"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
light = context.light
|
||||
engine = context.engine
|
||||
return (
|
||||
(light and light.type in {'POINT', 'SUN', 'SPOT', 'AREA'}) and
|
||||
(engine in cls.COMPAT_ENGINES)
|
||||
)
|
||||
|
||||
def draw_header(self, context):
|
||||
light = context.light
|
||||
|
||||
layout = self.layout
|
||||
layout.active = light.use_shadow
|
||||
layout.prop(light, "use_contact_shadow", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
light = context.light
|
||||
layout.use_property_split = True
|
||||
|
||||
col = layout.column()
|
||||
col.active = light.use_shadow and light.use_contact_shadow
|
||||
|
||||
col.prop(light, "contact_shadow_distance", text="Distance")
|
||||
col.prop(light, "contact_shadow_bias", text="Bias")
|
||||
col.prop(light, "contact_shadow_thickness", text="Thickness")
|
||||
|
||||
|
||||
class DATA_PT_spot(DataButtonsPanel, Panel):
|
||||
bl_label = "Beam Shape"
|
||||
bl_parent_id = "DATA_PT_EEVEE_light"
|
||||
|
@ -373,9 +278,6 @@ classes = (
|
|||
DATA_PT_EEVEE_light_shadow,
|
||||
DATA_PT_EEVEE_light_influence,
|
||||
DATA_PT_EEVEE_light_distance,
|
||||
DATA_PT_EEVEE_shadow,
|
||||
DATA_PT_EEVEE_shadow_cascaded_shadow_map,
|
||||
DATA_PT_EEVEE_shadow_contact,
|
||||
DATA_PT_light_animation,
|
||||
DATA_PT_custom_props_light,
|
||||
)
|
||||
|
|
|
@ -296,6 +296,7 @@ def draw_material_settings(self, context):
|
|||
draw_material_volume_settings(layout, mat, False)
|
||||
|
||||
|
||||
# TODO: used by `./scripts/addons_core/hydra_storm/ui.py`, move to `EEVEE_NEXT_MATERIAL_PT_settings`.
|
||||
class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, Panel):
|
||||
bl_label = "Settings"
|
||||
bl_context = "material"
|
||||
|
|
|
@ -215,17 +215,6 @@ class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, Panel):
|
|||
col.prop(gpcolor, "texture_clamp", text="Clip Image")
|
||||
|
||||
|
||||
class MATERIAL_PT_gpencil_preview(GPMaterialButtonsPanel, Panel):
|
||||
bl_label = "Preview"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
||||
def draw(self, context):
|
||||
ma = context.material
|
||||
self.layout.label(text=ma.name)
|
||||
self.layout.template_preview(ma)
|
||||
|
||||
|
||||
class MATERIAL_PT_gpencil_animation(GPMaterialButtonsPanel, PropertiesAnimationMixin, PropertyPanel, Panel):
|
||||
_animated_id_context_property = "material"
|
||||
|
||||
|
@ -261,7 +250,6 @@ classes = (
|
|||
GPENCIL_UL_matslots,
|
||||
GPENCIL_MT_material_context_menu,
|
||||
MATERIAL_PT_gpencil_slots,
|
||||
MATERIAL_PT_gpencil_preview,
|
||||
MATERIAL_PT_gpencil_material_presets,
|
||||
MATERIAL_PT_gpencil_surface,
|
||||
MATERIAL_PT_gpencil_strokecolor,
|
||||
|
|
|
@ -197,66 +197,6 @@ class RENDER_PT_color_management_white_balance(RenderButtonsPanel, Panel):
|
|||
col.prop(view, "white_balance_tint")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_ambient_occlusion(RenderButtonsPanel, Panel):
|
||||
bl_label = "Ambient Occlusion"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw_header(self, context):
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
self.layout.prop(props, "use_gtao", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
layout.active = props.use_gtao
|
||||
col = layout.column()
|
||||
col.prop(props, "gtao_distance")
|
||||
col.prop(props, "gtao_factor")
|
||||
col.prop(props, "gtao_quality")
|
||||
col.prop(props, "use_gtao_bent_normals")
|
||||
col.prop(props, "use_gtao_bounce")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_motion_blur(RenderButtonsPanel, Panel):
|
||||
bl_label = "Motion Blur"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw_header(self, context):
|
||||
scene = context.scene
|
||||
props = scene.render
|
||||
self.layout.prop(props, "use_motion_blur", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
scene = context.scene
|
||||
props = scene.render
|
||||
eevee_props = scene.eevee
|
||||
|
||||
layout.active = props.use_motion_blur
|
||||
col = layout.column()
|
||||
col.prop(props, "motion_blur_position", text="Position")
|
||||
col.prop(props, "motion_blur_shutter")
|
||||
col.separator()
|
||||
col.prop(eevee_props, "motion_blur_depth_scale")
|
||||
col.prop(eevee_props, "motion_blur_max")
|
||||
col.prop(eevee_props, "motion_blur_steps", text="Steps")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_motion_blur(RenderButtonsPanel, Panel):
|
||||
bl_label = "Motion Blur"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
@ -317,34 +257,6 @@ class RENDER_PT_eevee_next_motion_blur_curve(RenderButtonsPanel, Panel):
|
|||
row.operator("render.shutter_curve_preset", icon='NOCURVE', text="").shape = 'MAX'
|
||||
|
||||
|
||||
class RENDER_PT_eevee_depth_of_field(RenderButtonsPanel, Panel):
|
||||
bl_label = "Depth of Field"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.prop(props, "bokeh_max_size")
|
||||
col.prop(props, "bokeh_threshold")
|
||||
col.prop(props, "bokeh_neighbor_max")
|
||||
col.prop(props, "bokeh_denoise_fac")
|
||||
col.prop(props, "use_bokeh_high_quality_slight_defocus")
|
||||
col.prop(props, "use_bokeh_jittered")
|
||||
|
||||
col = layout.column()
|
||||
col.active = props.use_bokeh_jittered
|
||||
col.prop(props, "bokeh_overblur")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_depth_of_field(RenderButtonsPanel, Panel):
|
||||
bl_label = "Depth of Field"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
@ -375,105 +287,6 @@ class RENDER_PT_eevee_next_depth_of_field(RenderButtonsPanel, Panel):
|
|||
sub.prop(props, "bokeh_overblur")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_bloom(RenderButtonsPanel, Panel):
|
||||
bl_label = "Bloom"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw_header(self, context):
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
self.layout.prop(props, "use_bloom", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
layout.active = props.use_bloom
|
||||
col = layout.column()
|
||||
col.prop(props, "bloom_threshold")
|
||||
col.prop(props, "bloom_knee")
|
||||
col.prop(props, "bloom_radius")
|
||||
col.prop(props, "bloom_color")
|
||||
col.prop(props, "bloom_intensity")
|
||||
col.prop(props, "bloom_clamp")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_volumetric(RenderButtonsPanel, Panel):
|
||||
bl_label = "Volumetrics"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.prop(props, "volumetric_start")
|
||||
col.prop(props, "volumetric_end")
|
||||
|
||||
col = layout.column()
|
||||
col.prop(props, "volumetric_tile_size")
|
||||
col.prop(props, "volumetric_samples")
|
||||
col.prop(props, "volumetric_sample_distribution", text="Distribution")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_volumetric_lighting(RenderButtonsPanel, Panel):
|
||||
bl_label = "Volumetric Lighting"
|
||||
bl_parent_id = "RENDER_PT_eevee_volumetric"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
def draw_header(self, context):
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
self.layout.prop(props, "use_volumetric_lights", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
layout.active = props.use_volumetric_lights
|
||||
layout.prop(props, "volumetric_light_clamp", text="Light Clamping")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_volumetric_shadows(RenderButtonsPanel, Panel):
|
||||
bl_label = "Volumetric Shadows"
|
||||
bl_parent_id = "RENDER_PT_eevee_volumetric"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
def draw_header(self, context):
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
self.layout.prop(props, "use_volumetric_shadows", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
layout.active = props.use_volumetric_shadows
|
||||
layout.prop(props, "volumetric_shadow_samples", text="Samples")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_volumes(RenderButtonsPanel, Panel):
|
||||
bl_label = "Volumes"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
@ -529,59 +342,6 @@ class RENDER_PT_eevee_next_volumes_range(RenderButtonsPanel, Panel):
|
|||
col.prop(props, "volumetric_end")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_subsurface_scattering(RenderButtonsPanel, Panel):
|
||||
bl_label = "Subsurface Scattering"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.prop(props, "sss_samples")
|
||||
col.prop(props, "sss_jitter_threshold")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_screen_space_reflections(RenderButtonsPanel, Panel):
|
||||
bl_label = "Screen Space Reflections"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw_header(self, context):
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
self.layout.prop(props, "use_ssr", text="")
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.active = props.use_ssr
|
||||
col.prop(props, "use_ssr_refraction", text="Refraction")
|
||||
col.prop(props, "use_ssr_halfres")
|
||||
col.prop(props, "ssr_quality")
|
||||
col.prop(props, "ssr_max_roughness")
|
||||
col.prop(props, "ssr_thickness")
|
||||
col.prop(props, "ssr_border_fade")
|
||||
col.prop(props, "ssr_firefly_fac")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_raytracing_presets(PresetPanel, Panel):
|
||||
bl_label = "Raytracing Presets"
|
||||
preset_subdir = "eevee/raytracing"
|
||||
|
@ -735,30 +495,6 @@ class RENDER_PT_eevee_next_denoise(RenderButtonsPanel, Panel):
|
|||
col.prop(props, "denoise_bilateral")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_shadows(RenderButtonsPanel, Panel):
|
||||
bl_label = "Shadows"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.prop(props, "shadow_cube_size", text="Cube Size")
|
||||
col.prop(props, "shadow_cascade_size", text="Cascade Size")
|
||||
col.prop(props, "use_shadow_high_bitdepth")
|
||||
col.prop(props, "use_soft_shadows")
|
||||
col.prop(props, "light_threshold")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_clamping(RenderButtonsPanel, Panel):
|
||||
bl_label = "Clamping"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
@ -854,30 +590,6 @@ class RENDER_PT_eevee_next_sampling_shadows(RenderButtonsPanel, Panel):
|
|||
col.prop(props, "shadow_resolution_scale", text="Resolution")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_sampling(RenderButtonsPanel, Panel):
|
||||
bl_label = "Sampling"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False # No animation.
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.prop(props, "taa_render_samples", text="Render")
|
||||
col.prop(props, "taa_samples", text="Viewport")
|
||||
|
||||
col = layout.column()
|
||||
col.prop(props, "use_taa_reprojection")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_sampling(RenderButtonsPanel, Panel):
|
||||
bl_label = "Sampling"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE_NEXT'}
|
||||
|
@ -960,87 +672,6 @@ class RENDER_PT_eevee_next_sampling_advanced(RenderButtonsPanel, Panel):
|
|||
col.prop(props, "light_threshold")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
|
||||
bl_label = "Indirect Lighting"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False # No animation.
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
col.prop(props, "gi_diffuse_bounces")
|
||||
col.prop(props, "gi_cubemap_resolution")
|
||||
col.prop(props, "gi_visibility_resolution", text="Diffuse Occlusion")
|
||||
col.prop(props, "gi_irradiance_smoothing")
|
||||
col.prop(props, "gi_glossy_clamp")
|
||||
col.prop(props, "gi_filter_quality")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_indirect_lighting_display(RenderButtonsPanel, Panel):
|
||||
bl_label = "Display"
|
||||
bl_parent_id = "RENDER_PT_eevee_indirect_lighting"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False # No animation.
|
||||
|
||||
scene = context.scene
|
||||
props = scene.eevee
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(props, "gi_cubemap_display_size", text="Cubemap Size")
|
||||
row.prop(props, "gi_show_cubemaps", text="", toggle=True)
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(props, "gi_irradiance_display_size", text="Irradiance Size")
|
||||
row.prop(props, "gi_show_irradiance", text="", toggle=True)
|
||||
|
||||
|
||||
class RENDER_PT_eevee_film(RenderButtonsPanel, Panel):
|
||||
bl_label = "Film"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.engine in cls.COMPAT_ENGINES)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
scene = context.scene
|
||||
rd = scene.render
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.prop(rd, "filter_size")
|
||||
col.prop(rd, "film_transparent", text="Transparent")
|
||||
|
||||
col = layout.column(align=False, heading="Overscan")
|
||||
row = col.row(align=True)
|
||||
sub = row.row(align=True)
|
||||
sub.prop(props, "use_overscan", text="")
|
||||
sub = sub.row(align=True)
|
||||
sub.active = props.use_overscan
|
||||
sub.prop(props, "overscan_size", text="")
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_film(RenderButtonsPanel, Panel):
|
||||
bl_label = "Film"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
@ -1390,7 +1021,6 @@ class RENDER_PT_hydra_debug(RenderButtonsPanel, Panel):
|
|||
|
||||
classes = (
|
||||
RENDER_PT_context,
|
||||
RENDER_PT_eevee_sampling,
|
||||
RENDER_PT_eevee_next_sampling,
|
||||
RENDER_PT_eevee_next_sampling_viewport,
|
||||
RENDER_PT_eevee_next_sampling_render,
|
||||
|
@ -1399,34 +1029,21 @@ classes = (
|
|||
RENDER_PT_eevee_next_clamping,
|
||||
RENDER_PT_eevee_next_clamping_surface,
|
||||
RENDER_PT_eevee_next_clamping_volume,
|
||||
RENDER_PT_eevee_ambient_occlusion,
|
||||
RENDER_PT_eevee_bloom,
|
||||
RENDER_PT_eevee_subsurface_scattering,
|
||||
RENDER_PT_eevee_screen_space_reflections,
|
||||
RENDER_PT_eevee_next_raytracing_presets,
|
||||
RENDER_PT_eevee_next_raytracing,
|
||||
RENDER_PT_eevee_next_screen_trace,
|
||||
RENDER_PT_eevee_next_denoise,
|
||||
RENDER_PT_eevee_next_gi_approximation,
|
||||
RENDER_PT_eevee_motion_blur,
|
||||
RENDER_PT_eevee_volumetric,
|
||||
RENDER_PT_eevee_volumetric_lighting,
|
||||
RENDER_PT_eevee_volumetric_shadows,
|
||||
RENDER_PT_eevee_next_volumes,
|
||||
RENDER_PT_eevee_next_volumes_range,
|
||||
RENDER_PT_eevee_hair,
|
||||
RENDER_PT_eevee_shadows,
|
||||
RENDER_PT_eevee_indirect_lighting,
|
||||
RENDER_PT_eevee_indirect_lighting_display,
|
||||
RENDER_PT_simplify,
|
||||
RENDER_PT_simplify_viewport,
|
||||
RENDER_PT_simplify_render,
|
||||
RENDER_PT_simplify_greasepencil,
|
||||
RENDER_PT_eevee_depth_of_field,
|
||||
RENDER_PT_eevee_next_depth_of_field,
|
||||
RENDER_PT_eevee_next_motion_blur,
|
||||
RENDER_PT_eevee_next_motion_blur_curve,
|
||||
RENDER_PT_eevee_film,
|
||||
RENDER_PT_eevee_next_film,
|
||||
RENDER_PT_eevee_performance,
|
||||
RENDER_PT_eevee_performance_memory,
|
||||
|
|
|
@ -59,26 +59,6 @@ class VIEWLAYER_PT_layer_passes(ViewLayerButtonsPanel, Panel):
|
|||
pass
|
||||
|
||||
|
||||
class VIEWLAYER_PT_eevee_layer_passes_data(ViewLayerButtonsPanel, Panel):
|
||||
bl_label = "Data"
|
||||
bl_parent_id = "VIEWLAYER_PT_layer_passes"
|
||||
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
view_layer = context.view_layer
|
||||
|
||||
col = layout.column()
|
||||
col.prop(view_layer, "use_pass_combined")
|
||||
col.prop(view_layer, "use_pass_z")
|
||||
col.prop(view_layer, "use_pass_mist")
|
||||
col.prop(view_layer, "use_pass_normal")
|
||||
|
||||
|
||||
class VIEWLAYER_PT_eevee_next_layer_passes_data(ViewLayerButtonsPanel, Panel):
|
||||
bl_label = "Data"
|
||||
bl_parent_id = "VIEWLAYER_PT_layer_passes"
|
||||
|
@ -122,38 +102,6 @@ class VIEWLAYER_PT_workbench_layer_passes_data(ViewLayerButtonsPanel, Panel):
|
|||
col.prop(view_layer, "use_pass_z")
|
||||
|
||||
|
||||
class VIEWLAYER_PT_eevee_layer_passes_light(ViewLayerButtonsPanel, Panel):
|
||||
bl_label = "Light"
|
||||
bl_parent_id = "VIEWLAYER_PT_layer_passes"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
view_layer = context.view_layer
|
||||
view_layer_eevee = view_layer.eevee
|
||||
|
||||
col = layout.column(heading="Diffuse", align=True)
|
||||
col.prop(view_layer, "use_pass_diffuse_direct", text="Light")
|
||||
col.prop(view_layer, "use_pass_diffuse_color", text="Color")
|
||||
|
||||
col = layout.column(heading="Specular", align=True)
|
||||
col.prop(view_layer, "use_pass_glossy_direct", text="Light")
|
||||
col.prop(view_layer, "use_pass_glossy_color", text="Color")
|
||||
|
||||
col = layout.column(heading="Volume", heading_ctxt=i18n_contexts.id_id, align=True)
|
||||
col.prop(view_layer_eevee, "use_pass_volume_direct", text="Light")
|
||||
|
||||
col = layout.column(heading="Other", align=True)
|
||||
col.prop(view_layer, "use_pass_emit", text="Emission")
|
||||
col.prop(view_layer, "use_pass_environment")
|
||||
col.prop(view_layer, "use_pass_shadow")
|
||||
col.prop(view_layer, "use_pass_ambient_occlusion", text="Ambient Occlusion")
|
||||
|
||||
|
||||
class VIEWLAYER_PT_eevee_next_layer_passes_light(ViewLayerButtonsPanel, Panel):
|
||||
bl_label = "Light"
|
||||
bl_parent_id = "VIEWLAYER_PT_layer_passes"
|
||||
|
@ -192,30 +140,6 @@ class VIEWLAYER_PT_eevee_next_layer_passes_light(ViewLayerButtonsPanel, Panel):
|
|||
col.prop(context.scene.eevee, "gtao_distance", text="Occlusion Distance")
|
||||
|
||||
|
||||
class VIEWLAYER_PT_eevee_layer_passes_effects(ViewLayerButtonsPanel, Panel):
|
||||
bl_label = "Effects"
|
||||
bl_parent_id = "VIEWLAYER_PT_layer_passes"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE'}
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
view_layer = context.view_layer
|
||||
view_layer_eevee = view_layer.eevee
|
||||
scene = context.scene
|
||||
scene_eevee = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.prop(view_layer_eevee, "use_pass_bloom", text="Bloom")
|
||||
col.active = scene_eevee.use_bloom
|
||||
|
||||
col = layout.column()
|
||||
col.prop(view_layer_eevee, "use_pass_transparent")
|
||||
|
||||
|
||||
class ViewLayerAOVPanelHelper(ViewLayerButtonsPanel):
|
||||
bl_label = "Shader AOV"
|
||||
|
||||
|
@ -357,11 +281,8 @@ classes = (
|
|||
VIEWLAYER_PT_layer,
|
||||
VIEWLAYER_PT_layer_passes,
|
||||
VIEWLAYER_PT_workbench_layer_passes_data,
|
||||
VIEWLAYER_PT_eevee_layer_passes_data,
|
||||
VIEWLAYER_PT_eevee_next_layer_passes_data,
|
||||
VIEWLAYER_PT_eevee_layer_passes_light,
|
||||
VIEWLAYER_PT_eevee_next_layer_passes_light,
|
||||
VIEWLAYER_PT_eevee_layer_passes_effects,
|
||||
VIEWLAYER_PT_layer_passes_cryptomatte,
|
||||
VIEWLAYER_PT_layer_passes_aov,
|
||||
VIEWLAYER_PT_layer_passes_lightgroups,
|
||||
|
|
|
@ -20,7 +20,6 @@ from bl_ui.space_toolsystem_common import (
|
|||
ToolActivePanelHelper,
|
||||
)
|
||||
from bl_ui.properties_material import (
|
||||
EEVEE_MATERIAL_PT_settings,
|
||||
EEVEE_NEXT_MATERIAL_PT_settings,
|
||||
EEVEE_NEXT_MATERIAL_PT_settings_surface,
|
||||
EEVEE_NEXT_MATERIAL_PT_settings_volume,
|
||||
|
@ -1110,7 +1109,6 @@ classes = (
|
|||
NODE_PT_overlay,
|
||||
NODE_PT_active_node_properties,
|
||||
|
||||
node_panel(EEVEE_MATERIAL_PT_settings),
|
||||
node_panel(EEVEE_NEXT_MATERIAL_PT_settings),
|
||||
node_panel(EEVEE_NEXT_MATERIAL_PT_settings_surface),
|
||||
node_panel(EEVEE_NEXT_MATERIAL_PT_settings_volume),
|
||||
|
|
Loading…
Reference in a new issue