Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public override void OnInspectorGUI()
else if (mode == (int)ExposureMode.Fixed)
{
PropertyField(m_FixedExposure);
PropertyField(m_Compensation);
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,8 @@ void DoFixedExposure(CommandBuffer cmd, HDCamera camera)
if (m_Exposure.mode.value == ExposureMode.Fixed)
{
kernel = cs.FindKernel("KFixedExposure");
cmd.SetComputeVectorParam(cs, HDShaderIDs._ExposureParams, new Vector4(m_Exposure.compensation.value + m_DebugExposureCompensation, m_Exposure.fixedExposure.value, 0f, 0f));
// Don't apply exposure compensation on fixed exposure in 7.4.0 to not break existing users project
cmd.SetComputeVectorParam(cs, HDShaderIDs._ExposureParams, new Vector4(0f /* m_Exposure.compensation.value + m_DebugExposureCompensation */, m_Exposure.fixedExposure.value, 0f, 0f));
}
else if (m_Exposure.mode == ExposureMode.UsePhysicalCamera)
{
Expand Down