PDA

View Full Version : Software GLSL


unknown
2006.07.31, 09:43 PM
How do I setup an OpenGL context that lets me use GLSL in software?

OneSadCookie
2006.07.31, 09:50 PM
use the "renderer ID" pixel format attribute with the appropriate constant from CGLRenderers.h (apple floating-point software renderer).

unknown
2006.07.31, 10:29 PM
thank you.

arekkusu
2006.08.01, 02:01 AM
See also the example code provided with Xcode 2.3 at /Developer/Examples/OpenGL/Cocoa/GLSLEditorSample (GLSLView.m:floatPixelFormat)