Working mask rendering and debugging

This commit is contained in:
Olivier Prat 2017-10-16 09:42:58 +02:00
parent f716d0cc44
commit 8d79313a9d

View file

@ -410,7 +410,7 @@ void DrawOutlineTask::build(JobModel& task, const render::Varying& inputs, rende
{
auto state = std::make_shared<gpu::State>();
state->setDepthTest(true, true, gpu::LESS_EQUAL);
state->setColorWriteMask(false, false, false, false);
state->setColorWriteMask(true, true, true, true);
initMaskPipelines(*shapePlumber, state);
}