Skip to content

Commit 9330b88

Browse files
committed
Include G-Buffer uuid in cache key
1 parent 34009c9 commit 9330b88

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/utils/gbuffer/GBufferShaderPlugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ export class GBufferShaderPlugin {
142142

143143
}
144144

145-
return key + this.enabled;
145+
const gBufferId = this.gBuffer?.texture.uuid ?? "";
146+
return key + this.enabled + gBufferId;
146147

147148
};
148149

0 commit comments

Comments
 (0)