We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee124ce commit 8b54ecaCopy full SHA for 8b54eca
Sources/Rendering/WebGPU/CellArrayMapper/index.js
@@ -1129,7 +1129,8 @@ function vtkWebGPUCellArrayMapper(publicAPI, model) {
1129
// --- Texture Coordinates ---
1130
let tcoords = null;
1131
if (
1132
- model.renderable.getInterpolateScalarsBeforeMapping?.() &&
+ (model.renderable.getAreScalarsMappedFromCells() ||
1133
+ model.renderable.getInterpolateScalarsBeforeMapping?.()) &&
1134
model.renderable.getColorCoordinates()
1135
) {
1136
tcoords = model.renderable.getColorCoordinates();
0 commit comments