O'Reilly logo
  • Musharraf Azeem thinks this is interesting:

declaration of the version using #version


Cover of OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition


What if you use a specify a new version and then run the OpenGL application on a machine which does not support that version (although the machine does use an OpenGL version that supports shaders in general.) Will the shader still work as long it does not use any features not supported by the older version?