FS#99 - Opacity of volume in tutor mode doesn't modify segments.
Attached to Project:
Temporal Bone Simulator
Opened by Thomas Kerwin (tkerwin) - Wednesday, 20 June 2007, 19:36 GMT
Opened by Thomas Kerwin (tkerwin) - Wednesday, 20 June 2007, 19:36 GMT
|
DetailsChange it so when opacity slider changes the opacity of the volume in tutor mode, the opacity of the displayed segments is unaffected.
|
This task depends upon
Make mask volume: 1 for activated segments, 0 for remainder.
In the shader:
s = textureLookup(mask);
mix( slider_based_opacity, original_opacity, s)
This should let fragments that are drawing activated segments use the original opacity instead of the altered opacity based on the slider.