@kitware/vtk.js 23.0.0 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,7 +85,6 @@ function vtkWebGPUHardwareSelectionPass(publicAPI, model) {
|
|
|
85
85
|
});
|
|
86
86
|
var renDesc = model.selectionRenderEncoder.getDescription();
|
|
87
87
|
renDesc.colorAttachments[0].clearValue = [0.0, 0.0, 0.0, 0.0];
|
|
88
|
-
renDesc.depthStencilAttachment.stencilLoadOp = 'load';
|
|
89
88
|
model.selectionRenderEncoder.setPipelineSettings({
|
|
90
89
|
primitive: {
|
|
91
90
|
cullMode: 'none'
|
|
@@ -108,9 +108,7 @@ function vtkWebGPUOrderIndependentTranslucentPass(publicAPI, model) {
|
|
|
108
108
|
rDesc.depthStencilAttachment = {
|
|
109
109
|
view: undefined,
|
|
110
110
|
depthLoadOp: 'load',
|
|
111
|
-
depthStoreOp: 'store'
|
|
112
|
-
stencilLoadOp: 'load',
|
|
113
|
-
stencilStoreOp: 'store'
|
|
111
|
+
depthStoreOp: 'store'
|
|
114
112
|
};
|
|
115
113
|
model.translucentRenderEncoder.setReplaceShaderCodeFunction(function (pipeline) {
|
|
116
114
|
var fDesc = pipeline.getShaderDescription('fragment');
|
|
@@ -145,10 +145,7 @@ function extend(publicAPI, model) {
|
|
|
145
145
|
view: undefined,
|
|
146
146
|
depthLoadOp: 'clear',
|
|
147
147
|
depthClearValue: 0.0,
|
|
148
|
-
depthStoreOp: 'store'
|
|
149
|
-
stencilLoadOp: 'clear',
|
|
150
|
-
stencilClearValue: 0,
|
|
151
|
-
stencilStoreOp: 'store'
|
|
148
|
+
depthStoreOp: 'store'
|
|
152
149
|
}
|
|
153
150
|
}; // default shader code just writes out the computedColor
|
|
154
151
|
|