Does Max6 support GLSL version 1.3 or higher?

NK's icon

I can't use glsl function "texelFetch" (glsl vrsion 1.3) in max6. But other program(by C++) can run in the same PC(graphic card GTS250). can I set GLSL version in max6?

Wesley Smith's icon

Jitter in Max6 doesn't use OpenGL 3.0 so it can't support GLSL 1.3. GLSL 1.2 is the version we support at the moment. What are you trying to do with GLSL 1.3?

diablodale's icon

I've been successful using texelFetch and other modern GLSL functions. Be sure to declare the GLSL version that you need in all your shader programs. For example, here is the first part of a vertex program in an .JXS file in which I used the texelFetch() function. *Important* you must have the compatibility profile declared for Max to function. Max must have the compatibility profile's support for old-style built-ins like gl_Normal, gl_Vertex, etc.