Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am trying to compile a vertex shader with Shader Maker and if I try to use the version 130 it says:

Compiling Vertex Shader
ERROR: 0:3: '' : version '130' is not supported

Compiling Fragment Shader

I need to use the version 130. Now I installed Shader Maker from it's site. I wonder if there is a way to use the version 130, what should I do?

share|improve this question
3  
Your system doesn't support GLSL 1.30 (OpenGL 3.0+), see if there's a software update to get you a newer version of OpenGL. From what I've noticed, Apple doesn't give OS X that great of OpenGL support though. The one programmer on our team with a Mac only has OpenGL 2.1, so our shaders target GLSL 120 while the rest of us have OpenGL 3.3+ –  Robert Rouhani Jan 27 '13 at 20:36
    
It looks like OS X 10.7 (Lion) has OpenGL 3.2 support, see if you can update to that. –  Robert Rouhani Jan 27 '13 at 20:40
    
I have mountain lion. –  Ramy Al Zuhouri Jan 27 '13 at 20:44
1  
I feel like I want to use linux :) –  Ramy Al Zuhouri Jan 27 '13 at 21:02
1  
Try using the Mesa 3D software renderer on Linux, it supports OpenGL 3.1/GLSL 1.40, but first make sure you've got the proper graphics card drivers installed. Perhaps the model of your Mac has a GPU that's a bit too old to support OpenGL 3.0... –  Robert Rouhani Jan 27 '13 at 22:22
show 5 more comments

closed as off-topic by Josh Petrie Jan 4 at 17:32

  • This question does not appear to be about game development within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.