diff --git a/vtkext/private/module/vtkF3DOpenGLGridMapper.cxx b/vtkext/private/module/vtkF3DOpenGLGridMapper.cxx index edca068aac..f09a52e580 100644 --- a/vtkext/private/module/vtkF3DOpenGLGridMapper.cxx +++ b/vtkext/private/module/vtkF3DOpenGLGridMapper.cxx @@ -75,7 +75,7 @@ void vtkF3DOpenGLGridMapper::ReplaceShaderValues( " float alpha = min(linewidth, 1.0);\n" " float d = dist - lw;\n" " return d < .0 ? alpha\n" - " : d < aa ? pow((1.0 - d / aa) * alpha, 3)\n" + " : d < aa ? pow((1.0 - d / aa) * alpha, 3.0)\n" " : 0.0;\n" "}\n" ); diff --git a/web/f3d.wasm b/web/f3d.wasm index a68802666d..86de3b8aa2 100644 Binary files a/web/f3d.wasm and b/web/f3d.wasm differ