changed HIGHLIGHT_INSIDE to render inside red instead of outside gray

This commit is contained in:
mschuetz 2014-12-28 12:02:12 +01:00
parent cb6e3fe61e
commit 0a79a4fe6f

View File

@ -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 ",