libgdx / box2dlights

Fork of box2dlights by Kalle Hamalainen
Apache License 2.0
257 stars 82 forks source link

Fixed Shader compilation problems on ATI graphic cards #101

Closed c2v4 closed 7 years ago

c2v4 commented 7 years ago

On ATI cards given shaders does not compiled due to lack of "#version" at its beggings. When version is not given version 110 is assumed which is not compatible with GL30. Left original path of shader creation but added correction when the first one fails.

c2v4 commented 7 years ago

http://www.badlogicgames.com/forum/viewtopic.php?f=17&t=17567

rinold commented 7 years ago

Thanks for finding this out and for the PR!