Problem Description I'm encountering an issue with SCNTechnique where the clearColor setting is being ignored when multiple passes share the same depth buffer. The clear color always appears as the scene background, regardless of what value I set. The minimal project for reproducing the issue: https://www.dropbox.com/scl/fi/30mx06xunh75wgl3t4sbd/SCNTechniqueCustomSymbols.zip?rlkey=yuehjtk7xh2pmdbetv2r8t2lx&st=b9uobpkp&dl=0 Problem Details In my SCNTechnique configuration, I have two passes that need to share the same depth buffer for proper occlusion handling: passes: [ box1_pass: [ draw: DRAW_SCENE, includeCategoryMask: 1, colorStates: [ clear: true, clearColor: 0 0 0 0 // Expecting transparent black ], depthStates: [ clear: true, enableWrite: true ], outputs: [ depth: box1_depth, color: box1_color ], ], box2_pass: [ draw: DRAW_SCENE, includeCategoryMask: 2, colorStates: [ clear: true, clearColor: 0 0 0 0 // Also expecting transparent black ], depthStates: [ clear: false, enableWrite: false ], output
1
0
702