Benjamin Guignabert 4 năm trước cách đây
mục cha
commit
3141303760
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/Rendering/prePassRenderer.ts

+ 1 - 0
src/Rendering/prePassRenderer.ts

@@ -539,6 +539,7 @@ export class PrePassRenderer {
 
         this._needsCompositionForThisPass = !this._hasImageProcessing(this._postProcessesSourceForThisPass) &&
             !this.disableGammaTransform &&
+            // prePassRenderTarget._beforeCompositionPostProcesses.length > 0 && // TODO : remove the need for composition by including it in the SSS post process
             !secondaryCamera;
 
         const firstCameraPP = this._getFirstPostProcess(this._postProcessesSourceForThisPass);