|
|
@@ -4,7 +4,7 @@ import NodeBuilderState from './NodeBuilderState.js';
|
|
|
import NodeMaterial from '../../../materials/nodes/NodeMaterial.js';
|
|
|
import { cubeMapNode } from '../../../nodes/utils/CubeMapNode.js';
|
|
|
import { NodeFrame, StackTrace } from '../../../nodes/Nodes.js';
|
|
|
-import { renderGroup, cubeTexture, texture, texture3D, vec3, fog, rangeFogFactor, densityFogFactor, reference, pmremTexture, screenUV } from '../../../nodes/TSL.js';
|
|
|
+import { renderGroup, cubeTexture, texture, fog, rangeFogFactor, densityFogFactor, reference, pmremTexture, screenUV } from '../../../nodes/TSL.js';
|
|
|
import { builtin } from '../../../nodes/accessors/BuiltinNode.js';
|
|
|
|
|
|
import { CubeUVReflectionMapping, EquirectangularReflectionMapping, EquirectangularRefractionMapping } from '../../../constants.js';
|
|
|
@@ -877,7 +877,7 @@ class NodeManager extends DataMap {
|
|
|
const cacheKey = this.getOutputCacheKey();
|
|
|
|
|
|
const output = outputTarget.isArrayTexture ?
|
|
|
- texture3D( outputTarget, vec3( screenUV, builtin( 'gl_ViewID_OVR' ) ) ).renderOutput( renderer.toneMapping, renderer.currentColorSpace ) :
|
|
|
+ texture( outputTarget, screenUV ).depth( builtin( 'gl_ViewID_OVR' ) ).renderOutput( renderer.toneMapping, renderer.currentColorSpace ) :
|
|
|
texture( outputTarget, screenUV ).renderOutput( renderer.toneMapping, renderer.currentColorSpace );
|
|
|
|
|
|
_outputNodeMap.set( outputTarget, cacheKey );
|