diff --git a/src/materials/PointCloudMaterial.js b/src/materials/PointCloudMaterial.js index 5efe2359..4b850a1e 100644 --- a/src/materials/PointCloudMaterial.js +++ b/src/materials/PointCloudMaterial.js @@ -801,10 +801,12 @@ Potree.PointCloudMaterial.vs_points = [ " gl_Position = vec4(1000.0, 1000.0, 1000.0, 1.0); ", " #elif defined clip_highlight_inside && !defined(color_type_depth) ", " float c = (vColor.r + vColor.g + vColor.b) / 6.0; ", - " vColor = vec3(c, c, c); ", + " //vColor = vec3(c, c, c); ", + " #endif ", + " }else{ ", + " #if defined clip_highlight_inside ", + " vColor.r += 0.5; ", " #endif ", - " ", - " ", " } ", " ", " #endif ",