make blend depth dependent on world space point size
This commit is contained in:
parent
e2d4499799
commit
6d73404277
@ -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 ",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user