Skip to content

Commit

Permalink
fix(ImageMapper): blend against black, not cyan
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Nov 4, 2024
1 parent b8c6162 commit 9f8689c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Rendering/OpenGL/ImageMapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function vtkOpenGLImageMapper(publicAPI, model) {
int actualThickness = int(textureValue * 255.0);
if (segmentIndex == 0){
gl_FragData[0] = vec4(0.0, 1.0, 1.0, 0.0);
gl_FragData[0] = vec4(0.0, 0.0, 0.0, 0.0);
return;
}
Expand Down

0 comments on commit 9f8689c

Please sign in to comment.