Debug diffuse buffer

This commit is contained in:
Atlante45 2015-12-04 11:15:06 -08:00
parent c27944ae28
commit ba2e7e1f29
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ void DebugDeferredBuffer::run(const SceneContextPointer& sceneContext, const Ren
batch.setPipeline(getPipeline());
batch.setResourceTexture(0, framebufferCache->getPrimaryNormalTexture());
batch.setResourceTexture(0, framebufferCache->getDeferredColorTexture());
glm::vec4 color(0.0f, 0.0f, 1.0f, 1.0f);
glm::vec2 bottomLeft(0.0f, -1.0f);

View file

@ -18,5 +18,5 @@ in vec2 uv;
out vec4 outFragColor;
void main(void) {
outFragColor = texture(normalMap, uv);
outFragColor = texture(diffuseMap, uv);
}