mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Robert Bragg
58fa6917c2
[fog] Document that fogging only works with opaque or unmultipled colors
The fixed function fogging provided by OpenGL only works with unmultiplied colors (or if the color has an alpha of 1.0) so since we now premultiply textures and colors by default a note to this affect has been added to clutter_stage_set_fog and cogl_set_fog. test-depth.c no longer uses clutter_stage_set_fog for this reason. In the future when we can depend on fragment shaders we should also be able to support fogging of premultiplied primitives.
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%