pissang / clay-viewer

3D model viewer with high quality rendering and glTF2.0/GLB export
https://pissang.github.io/clay-viewer/editor/
BSD 3-Clause "New" or "Revised" License
767 stars 97 forks source link

[Bug] Incorrect work of color correction while change saturation value [Win][0.1.1] #68

Open bspotf opened 6 years ago

bspotf commented 6 years ago

Environment: Notebook Dell Inspiron N5110 Intel Core i5-2430M CPU 2.4GHz 6Gb RAM Intel HD Graphics 3000 GPU OS: Windows 10 Home 64-bit

Program info: Version: 0.1.1 desktop (Win)

Problem: The saturation is incorrectly displayed when specifying a negative value. In itself it can not be below 0 (grayscale), but however the change occurs saturationbug saturationbug_gif

Steps:

  1. Open qtek-model-viewer.exe
  2. Import any 3D model
  3. Change the Saturation value in "Color Correction" to zero (grayscale)
  4. Change the Saturation value to negative (e.g -10.0)