MacOS: Enable support for EDR rendering #105662
|
@ -81,8 +81,11 @@ class RENDER_PT_color_management(RenderButtonsPanel, Panel):
|
|||
col.prop(view, "exposure")
|
||||
brecht marked this conversation as resolved
Outdated
|
||||
col.prop(view, "gamma")
|
||||
|
||||
# Only display HDR toggle for non-Filmic display transforms.
|
||||
if gpu.capabilities.hdr_support_get():
|
||||
col.prop(view, "use_hdr_view")
|
||||
sub = col.row()
|
||||
sub.active = (view.view_transform != "Filmic" and view.view_transform != "Filmic Log")
|
||||
sub.prop(view, "use_hdr_view")
|
||||
|
||||
col.separator()
|
||||
|
||||
|
|
|
@ -1275,10 +1275,11 @@ static void rna_def_colormanage(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "use_hdr_view", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", COLORMANAGE_VIEW_USE_HDR);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"High Dynamic Range",
|
||||
"Enable high dynamic range with extended colorspace in viewport, "
|
||||
"uncapping display brightness for rendered content");
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"High Dynamic Range",
|
||||
"Enable high dynamic range display in rendered viewport, uncapping display brightness. This "
|
||||
"requires a monitor with HDR support and a view transform designed for HDR.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, "rna_ColorManagedColorspaceSettings_reload_update");
|
||||
|
||||
/* ** Color-space ** */
|
||||
|
|
Loading…
Reference in New Issue
It's a bit of a hack as we can't automatically check for this in general, but I think graying it out for Filmic will help avoid some confusion: