Hiding measuring button if not mesh, dont zip if exporting to laz, updating Export XXX button based on the current context, fixed always blending texture/color on not visualization mode

This commit is contained in:
matlabbe
2025-03-11 22:04:49 -07:00
parent fe5fa434c0
commit 5067dc5be0
3 changed files with 63 additions and 16 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ const std::string kTextureMeshBlendingFragmentShader =
"varying float vLightWeighting;\n"
""
"void main() {\n"
" vec4 textureColor = texture2D(uTexture, vTexCoord) * vec4(vColor.z, vColor.y, vColor.x, 1.0);\n"
" vec4 textureColor = texture2D(uTexture, vTexCoord);\n"
" float alpha = 1.0;\n"
" vec2 coord = uScreenScale * gl_FragCoord.xy;\n;"
" vec4 depthPacked = texture2D(uDepthTexture, coord);\n"
+1 -1
View File
@@ -93,7 +93,7 @@ Scene::Scene() :
lighting_(false),
backfaceCulling_(true),
wireFrame_(false),
textureColorSeamsHidden_(false),
textureColorSeamsHidden_(true),
r_(0.0f),
g_(0.0f),
b_(0.0f),