mzanin
02-11-2010 09:30:56
I'm using GLSL to render a bunch of different textures on an Intel 945GM but they are all just blank.
I discovered that the Intel 945GM chipset only supports OpenGL 1.4 which doesn't have GLSL shader language support.
The GLSL fragment_program code I'm trying to execute is very simple:
This code is never executed and I get: Pass 0: Fragment program ... cannot be used - not supported.
Is there any way that I can do this another way?
It is quite important that we support OpenGL and DirectX even for older hardware.
Cheers
I discovered that the Intel 945GM chipset only supports OpenGL 1.4 which doesn't have GLSL shader language support.
The GLSL fragment_program code I'm trying to execute is very simple:
uniform sampler2D Sampler;
void main(void)
{
vec2 texCoord = vec2( gl_TexCoord[0] );
gl_FragColor = texture2D(Sampler, texCoord);
}
This code is never executed and I get: Pass 0: Fragment program ... cannot be used - not supported.
Is there any way that I can do this another way?
It is quite important that we support OpenGL and DirectX even for older hardware.
Cheers