Skip to content

Commit 9d5ada3

Browse files
committed
Fix ORM debug view
1 parent 3440495 commit 9d5ada3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/materials/shaders/buffer-debug.frag‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ void main() {
2424

2525
out_Color = vec4(readNormal(inputBuffer, vUv) * 0.5 + 0.5, 1.0);
2626

27+
#elif defined(ORM)
28+
29+
out_Color = vec4(texture(inputBuffer, vUv).xyz, 1.0);
30+
2731
#elif defined(POSITION)
2832

2933
float depth = readDepth(depthBuffer, vUv);

0 commit comments

Comments
 (0)