UI: Selected/hovered faces in the 3D view appear tinted with face color - Chosen selection color is not the one which is visible.
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Problem description
Currently the 3D view selection colors looks way off from the colors defined in `Preferences > General > Selection`. The colors also change depending on the angle of the viewport. This is because the selected and hovered faces are shaded just like the rest of the part. Below is an example that shows the issue:



In both images the same face is hovered but the bottom one looks barely highlighted because of the shading and the view angle. Other CAD software solve this issue by displaying selected and hovered faces as non-shaded (or applying "less shading" to those faces). Below is an example from OnShape:


I've done a proof of concept implementation of this in FreeCAD and can open a PR if people are in favor of this. It might also make sense to implement this as a preference but I'm not sure how to approach that. Open to discussion.

### Full version info
```shell
OS: Fedora Linux 38 (KDE Plasma) (KDE/plasmax11)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.34177 (Git)
Build type: Release
Branch: master
Hash: 331b76485002084ab341cfe5b27eb492b50a9c85
Python 3.11.4, Qt 5.15.10, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* Assembly4.backup1691951820.225657 0.50.2
* Assembly4
* Behave-Dark-Colors 0.1.1
* Curves 0.6.13
* DynamicData 2.46.0
* fasteners 0.4.59
* Freecad-Built-in-themes-beta 1.2.2
* freecad.gears.backup1692223246.5590403 1.0.0
* freecad.gears
* ExtremeProLight 1.6.0
* A2plus 0.4.60n
* ExplodedAssembly
* Glass
* kicadStepUpMod 10.19.4
* Silk 0.1.4
* lattice2 1.0.0
* Manipulator 1.5.0
* Leaf Dark Colors 0.1.1
* FreeCAD_DarkPreferencePack 0.0.1
```
### Subproject(s) affected?
Core
### Anything else?
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.