GPUOpen-Effects / TressFX

DirectX 12 and Vulkan libraries that provide convenient access to realistically rendered and simulated hair and fur
MIT License
789 stars 131 forks source link

Disable color picker in UI when color is being read from the model texture #18

Open jstewart-amd opened 8 years ago

jstewart-amd commented 8 years ago

There are two ways to color the hair/fur strands in the viewer:

  1. Hair/fur is a single color from the color picker
  2. Hair/fur gets its color from a texture

When color comes from a texture, the color picker should be disabled in the viewer UI, because it does not affect the color in this situation, and having it accessible when it won't change anything is confusing.