Skip to content

Commit

Permalink
Fix #232
Browse files Browse the repository at this point in the history
Depth point cloud and shadows for volumes should work correctly now.
  • Loading branch information
adnanmunawar committed Nov 12, 2024
1 parent 45609c7 commit 3db98c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ambf_framework/afFramework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8296,7 +8296,7 @@ bool afVolume::createFromAttribs(afVolumeAttributes *a_attribs)
m_voxelObject = new cVoxelObject();
// Setting transparency before setting the texture ensures that the rendering does not show empty spaces as black
// and the depth point cloud is able to see the volume
// m_voxelObject->setTransparencyLevel(1.0);
m_voxelObject->setTransparencyLevel(1.0);

cTexture3dPtr texture = cTexture3d::create();
texture->setImage(m_multiImage);
Expand Down

0 comments on commit 3db98c5

Please sign in to comment.