Showing the changes to libraries/render-utils/src/ToneMapAndResampleTask.cpp (1 of 1 file). Show all
Unified · Split
| @@ -79,7 +79,10 @@ void ToneMapAndResample::run(const RenderContextPointer& renderContext, const In · 78 unmodified lines | ||
| 79 | 79 | tonemapping = tonemappingStage->getElement(tonemappingFrame->_elements.front()); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | − if (_debug) { | |
| 82 | + if (args->_mirrorDepth > 0) { | |
| 83 | + setCurve(TonemappingCurve::SRGB); | |
| 84 | + setExposure(0.0f); | |
| 85 | + } else if (_debug) { | |
| 83 | 86 | setCurve(_debugCurve); |
| 84 | 87 | setExposure(_debugExposure); |
| 85 | 88 | } else if (tonemapping) { |