Fragment Programs

Is there a good tutorial someplace on writing fragment programs? All I can seem to find are the specifications, or Cg and GL Shading Language demos.

what kind of fragment programs, GLSL, ARB_fp, … ?

and if not demos or specifications, what do you want?

I just don’t want to use GLSL or Cg (not sure if that’s even available in OpenGL). Just the pure assembly-like fragment programs. They seem to be more widely accepted than GLSL right now. And demos are fine, but a tutorial would be better.

www.gpgpu.org
www.cgshaders.com
www.nvidia.com
www.ati.com
www.delphi3d.net

explore these sites thoroughly, they should keep you chewing for a quite while :slight_smile:

btw, GLSL is future of OpenGL, so you might consider getting an early start.

oh, and you can definately use Cg with OpenGL!