bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

A small fix to the shaders #3

Closed JeffBail closed 11 years ago

JeffBail commented 11 years ago

I found that the trailing semi colons in the fragment shaders caused errors like these when they were loaded:

FRAGMENT glCompileShader "" FAILED FRAGMENT Shader "" infolog: ERROR: 0:38: ';' : syntax error syntax error

I'm not sure why I'd be the only one to get them but I suppose it might have something to do with differences between our graphics cards and/or the drivers.

bjornblissing commented 11 years ago

Probably related to missing declaration of GLSL version or maybe differences in GLSL implementation between graphic card vendors.