From 0a79a4fe6fb485d3351800f03e55d7d56a241737 Mon Sep 17 00:00:00 2001 From: mschuetz Date: Sun, 28 Dec 2014 12:02:12 +0100 Subject: [PATCH] changed HIGHLIGHT_INSIDE to render inside red instead of outside gray --- src/materials/PointCloudMaterial.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 ",