fixed intensity
This commit is contained in:
parent
a01a2fea72
commit
af9e7507f0
@ -738,9 +738,8 @@ Potree.PointCloudMaterial.vs_points = [
|
||||
" float d = -mvPosition.z ; ",
|
||||
" vColor = vec3(d, vDepth, 0.0); ",
|
||||
" #elif defined color_type_intensity ",
|
||||
" float w = (intensity - intensityMin) / intensityMax; ",
|
||||
" float w = (intensity - intensityMin) / (intensityMax - intensityMin); ",
|
||||
" vColor = vec3(w, w, w); ",
|
||||
" //vColor = texture2D(gradient, vec2(w,1.0-w)).rgb; ",
|
||||
" #elif defined color_type_intensity_gradient ",
|
||||
" float w = (intensity - intensityMin) / intensityMax; ",
|
||||
" vColor = texture2D(gradient, vec2(w,1.0-w)).rgb; ",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user