Skip to content

Commit a0de3c0

Browse files
committed
Fix for wrong depth values on clipping plane
1 parent bcf0884 commit a0de3c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/isaac/isaac_kernel.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ namespace isaac
757757
normal = start + t0 * dir - particle_pos;
758758
if( t0 < 0 && is_clipped )
759759
{
760+
color.w = 0;
760761
normal = -clipping_normal;
761762
}
762763
}

0 commit comments

Comments
 (0)