diff --git a/Hydrogent/interface/Tasks/HnTaskManager.hpp b/Hydrogent/interface/Tasks/HnTaskManager.hpp index fba0132c..41bd7576 100644 --- a/Hydrogent/interface/Tasks/HnTaskManager.hpp +++ b/Hydrogent/interface/Tasks/HnTaskManager.hpp @@ -84,9 +84,9 @@ class HnTaskManager /// \param [in] TaskOrder - Optional task order. If not specified, the following default order is used: /// - BeginFrame /// * Prepares render targets and other frame resources + /// - RenderShadows /// - BeginMainPass /// * Binds the Color and Mesh Id render targes and the the selection depth buffer - /// - RenderShadows /// - RenderRprimsDefaultSelected /// * Renders only selected Rprims with the default material tag /// - RenderRprimsMaskedSelected @@ -116,8 +116,8 @@ class HnTaskManager /// | Task | Selected Rprims | Unselected Rprims | Color | Mesh ID | G-Buffer | Selection Detph | Main Depth | /// |---------------------------------|------------------|-------------------|--------|-----------|----------|------------------|------------| /// | BeginFrame | | | | | | | | - /// | BeginMainPass | | | | | | | | /// | RenderShadows | | | | | | | | + /// | BeginMainPass | | | | | | | | /// | RenderRprimsDefaultSelected | V | | V | V | V | V | | /// | RenderRprimsMaskedSelected | V | | V | V | V | V | | /// | CopySelectionDepth | | | | | | V---copy--|---->V | diff --git a/Hydrogent/src/Tasks/HnTaskManager.cpp b/Hydrogent/src/Tasks/HnTaskManager.cpp index c06cecb0..0a96ba3d 100644 --- a/Hydrogent/src/Tasks/HnTaskManager.cpp +++ b/Hydrogent/src/Tasks/HnTaskManager.cpp @@ -270,7 +270,7 @@ void HnTaskManager::CreateRenderShadowsTask() TaskParams.State.SlopeScaledDepthBias = Renderer.GetSettings().PCFKernelSize * 0.5f + 0.5f; CreateTask(HnTaskManagerTokens->renderShadowsTask, TaskUID_RenderShadows, TaskParams); - // Only render shadows from default material tfor now + // Only render shadows from default material for now pxr::HdRprimCollection Collection{ pxr::HdTokens->geometry, pxr::HdReprSelector{pxr::HdReprTokens->hull},