Tell me more ×
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 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 at 20:40
I have mountain lion. – Ramy Al Zuhouri Jan 27 at 20:44
1  
I feel like I want to use linux :) – Ramy Al Zuhouri Jan 27 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 at 22:22
show 4 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.