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
908 stars 120 forks source link

Rename gl_frag_coord to frag_coord to fix driver issues #22

Closed tobspr closed 6 years ago

tobspr commented 6 years ago

The AMD Driver (17.50.07.01 / OpenGL® Version 6.14.10.13506) complains with the following error: ERROR: functions.inc.glsl:455: error(#168) Reserved built-in name: gl_frag_coord

Renaming the variable name fixes this.