make blend depth dependent on world space point size

This commit is contained in:
mschuetz 2015-04-12 17:10:03 +02:00
parent e2d4499799
commit 6d73404277

View File

@ -868,7 +868,7 @@ Potree.PointCloudMaterial.fs_points_rgb = [
" vec2 uv = gl_FragCoord.xy / vec2(screenWidth, screenHeight); ",
" ",
" float depth = texture2D(depthMap, uv).r; ",
" if(vLinearDepth > depth + blendDepth){ ",
" if(vLinearDepth > depth + vRadius){ ",
" discard; ",
" } ",
" #endif ",