mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 12:13:40 +02:00
Debug diffuse buffer
This commit is contained in:
parent
c27944ae28
commit
ba2e7e1f29
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -18,5 +18,5 @@ in vec2 uv;
|
|||
out vec4 outFragColor;
|
||||
|
||||
void main(void) {
|
||||
outFragColor = texture(normalMap, uv);
|
||||
outFragColor = texture(diffuseMap, uv);
|
||||
}
|
Loading…
Reference in a new issue