Skip to content

Commit 65ab1f6

Browse files
committed
Don't perform early return on zero alpha if segmentations are enabled
1 parent 4b441f1 commit 65ab1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Shaders/DirectVolumeRenderingShader.shader

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
continue;
333333
#endif
334334

335-
#if CUBIC_INTERPOLATION_ON
335+
#if CUBIC_INTERPOLATION_ON && !defined(MULTIVOLUME_OVERLAY) && !defined(MULTIVOLUME_ISOLATE)
336336
// Optimisation: First get density without tricubic interpolation, before doing an early return
337337
if (getTF1DColour(getDensityNoTricubic(currPos)).a == 0.0)
338338
continue;

0 commit comments

Comments
 (0)