Bug 97429 - Per-pixel fog isn't done
Summary: Per-pixel fog isn't done
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-21 12:08 UTC by Ruslan Kabatsayev
Modified: 2016-08-21 23:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ruslan Kabatsayev 2016-08-21 12:08:00 UTC
I've tried fbo_firecube from mesa-demos on Software Rasterizer, llvmpipe, softpipe and Intel HD Graphics 4600, and setting GL_FOG_HINT to GL_NICEST (toggled by pressing 'n') doesn't change anything. OTOH, on nvidia binary driver for an NVidia card I get nice per-pixel fog in this demo.

I believe that even though Mesa might refuse to support per-pixel fog in software renderers, at least drivers for the hardware capable of it must support it. This includes i965 and i915, and a bunch of others.
Comment 1 Jason Ekstrand 2016-08-21 23:53:20 UTC
GL_FOG_HINT is just a hint and nothing more so doing nothing with it is perfectly valid.  Perhaps we could do better (I honestly don't know).  However, since there are basically no modern applications using fixed-function fog, there is very little reason for is to care about making it better at this point.  Patches to improve fog handling would probably be welcome of someone cared to write them but I wouldn't expect any one of the main devs to care for the reasons already mentioned.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.