Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

closed as off-topic by Josh Petrie Jan 4 '14 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.

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
I feel like I want to use linux :) – Ramy Al Zuhouri Jan 27 '13 at 21:02
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

Browse other questions tagged or ask your own question.