Showing the changes to libraries/render-utils/src/DebugDeferredBuffer.cpp (1 of 2 files). Show all
Unified · Split
| @@ -423,5 +423,23 @@ void DebugDeferredBuffer::run(const SceneContextPointer& sceneContext, const Ren · 422 unmodified lines | |||
| 423 | const glm::vec2 bottomLeft(_size.x, _size.y); | 423 | const glm::vec2 bottomLeft(_size.x, _size.y); |
| 424 | const glm::vec2 topRight(_size.z, _size.w); | 424 | const glm::vec2 topRight(_size.z, _size.w); |
| 425 | geometryBuffer->renderQuad(batch, bottomLeft, topRight, color); | 425 | geometryBuffer->renderQuad(batch, bottomLeft, topRight, color); |
| 426 | |||
| 427 | |||
| 428 | batch.setResourceTexture(Albedo, nullptr); | ||
| 429 | batch.setResourceTexture(Normal, nullptr); | ||
| 430 | batch.setResourceTexture(Specular, nullptr); | ||
| 431 | batch.setResourceTexture(Depth, nullptr); | ||
| 432 | batch.setResourceTexture(Lighting, nullptr); | ||
| 433 | batch.setResourceTexture(Shadow, nullptr); | ||
| 434 | batch.setResourceTexture(LinearDepth, nullptr); | ||
| 435 | batch.setResourceTexture(HalfLinearDepth, nullptr); | ||
| 436 | batch.setResourceTexture(HalfNormal, nullptr); | ||
| 437 | |||
| 438 | batch.setResourceTexture(Curvature, nullptr); | ||
| 439 | batch.setResourceTexture(DiffusedCurvature, nullptr); | ||
| 440 | |||
| 441 | batch.setResourceTexture(AmbientOcclusion, nullptr); | ||
| 442 | batch.setResourceTexture(AmbientOcclusionBlurred, nullptr); | ||
| 443 | |||
| 426 | }); | 444 | }); |
| 427 | } | 445 | } |