Skip to content

Commit

Permalink
MM Renderer - Fix image planes not rendering behind hold out objects.
Browse files Browse the repository at this point in the history
When an object has useBackground shader on it (or it's a "hold out"
object), the Maya native imagePlane nodes were not rendering in the hold
out, only mmImagePlane was working. This is now fixed.
  • Loading branch information
david-cattermole committed Sep 30, 2023
1 parent 92ca5cd commit 5c2ab56
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mmSolver/render/RenderOverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ RenderOverride::RenderOverride(const MString &name)
m_sceneOp->setEnabled(true);
m_sceneOp->setBackgroundStyle(BackgroundStyle::kTransparentBlack);
m_sceneOp->setClearMask(CLEAR_MASK_DEPTH);
m_sceneOp->setExcludeTypes(MHWRender::MFrameContext::kExcludeImagePlane);
m_sceneOp->setSceneFilter(
static_cast<MHWRender::MSceneRender::MSceneFilterOption>(
MHWRender::MSceneRender::kRenderShadedItems));
Expand Down

0 comments on commit 5c2ab56

Please sign in to comment.