Vertex program / shaders

BlitzMax Forums/BlitzMax OpenGL Programming/Vertex program / shaders

Yup







The parallax one is gorgous to look at, but pounds my GF FX5600s frame rate (something like 40 - 50fps) at the scale shown, though Noel Cowers spangly XT800 got about 600fps I think

Not all shaders are slow, the toon one is quite fast, alone and full screen I get abotu 1100 fps, the lattice (cage looking) one is slow. Fill rate is a big factor on performance, the more the geometry fills the screen, the slower it gets.

Shaders can be loaded & used with about 4 function calls in my (bunch of functions & types I call an 'engine' :) ), and you can turn them on/off per entity surface.

I've currently got a few problems that aint been answered yet though :S Maybe if MArk reads this thread he'll have an idea what's going on here?

http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=11;t=000613

Cya!
Tom