ebruneton / precomputed_atmospheric_scattering

This project provides a new implementation of our EGSR 2008 paper "Precomputed Atmospheric Scattering".
BSD 3-Clause "New" or "Revised" License
922 stars 121 forks source link

Add compatibility with Mesa-driven GPUs #14

Closed 10110111 closed 7 years ago

10110111 commented 7 years ago

This set of changes makes the demo work for on my two different Intel HD Graphics GPUs on Linux driven by Mesa i965 driver, in addition to nVidia GPU driven by binary nvidia driver, which worked before. To achieve this, the demo is switched to OpenGL Core Profile, framebuffer formats are chosen those which are guaranteed to exist by the OpenGL 3.3 specification, and an unnecessary GLSL extension is unused.

10110111 commented 7 years ago

I've addressed your concerns. Would you like me to squash these fixes into the original commits to avoid littering git-log output with style-fix noise etc.?

10110111 commented 7 years ago

Ah, yeah, I didn't touch the Windows-related files because I can't test them (don't have Windows with its build system handy).

ebruneton commented 7 years ago

Thanks for your changes, I will squash and merge them. I can't test on Windows either, unfortunately.