Original Post
Hi! I'm trying to jump on the shader train but somehow it doesn't start rolling. For testing purpose I wrote the simplest shader I could think off:
varying vec2 texco;
void main( void )
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
texco = gl_MultiTexCoord0.xy;
}
uniform sampler2D BaseMap;
varying vec2 texco;
void main( void )
{
gl_FragColor = texture2D( BaseMap, texco );
}
The linker then told me that the shaders will 'run in hardware'. So I expected this to run very fast but instead the performance is really poor. Only one or two frames per sec while the same thing rendered with the standard pipeline gives me a fps count around 1000. I wonder now what could cause such a slowdown? [Edited by - m4444x on May 17, 2006 3:45:30 PM]