Jump to content
  • Advertisement
Sign in to follow this  
ic0de

OpenGL GLSL on intel cards

This topic is 2560 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have this game I wrote with OpenGL and it runs perfectly on my Desktop's Nvidia GTX 460 but screws up on my laptop which I know supports OpenGL 2.0. On my laptop when using shaders it looks as if the color depth is really low like 4 bits yet I am running it at 32 bits. Without shaders however it looks as if its in full color. Every other aspect of the game works. Are there GLSL functions that don't work on Intel cards? Or could it be that i just need to update the driver?

Share this post


Link to post
Share on other sites
Advertisement
Does your laptop have Intel integrated graphics? If so, it does not support 2.0. That is unless Intel has finally updated the drivers after (nearly?) a decade.

Share this post


Link to post
Share on other sites

Does your laptop have Intel integrated graphics? If so, it does not support 2.0. That is unless Intel has finally updated the drivers after (nearly?) a decade.


It does have Intel integrated graphics but glew reported it as supporting 2.0


Share this post


Link to post
Share on other sites

OK, it would seem that I am mistaken. There are Intel IGP that lack 2.0 support, but newer chips have 3.0 support and above. I think what really matters is what chipset is in your laptop.

This seems like a good place to start looking: http://www.intel.com...b/cs-010479.htm


from Intel:
[font="Arial"]
"The integrated graphics controller of the Intel® G45/G43/G41/Q43/Q45 Express Chipsets and Mobile Intel® 4 Series Express Chipset Family supports hardware acceleration for OpenGL* applications in 16-bit and 32-bit color depths. The latest Intel® Graphics Media Accelerator drivers provide support for the OpenGL version 2.0. "

My chipset is Mobile Intel® 4 Series Express
[/font]
I am 100% sure it supports 2.0, the shader still runs just not well, I read somewhere that Intel cards screw up when using the pow() function, is there any alternative to using pow();

Share this post


Link to post
Share on other sites

Does your laptop have Intel integrated graphics? If so, it does not support 2.0. That is unless Intel has finally updated the drivers after (nearly?) a decade.


Intel are up to a fairly good chunk of OpenGL 3.0 right now, and have supported OpenGL 2.1 for many years on compatible hardware. Your assertion is false.

Share this post


Link to post
Share on other sites

Intel are up to a fairly good chunk of OpenGL 3.0 right now, and have supported OpenGL 2.1 for many years on compatible hardware. Your assertion is false.


huh.gif


OK, it would seem that I am mistaken. There are Intel IGP that lack 2.0 support, but newer chips have 3.0 support and above. I think what really matters is what chipset is in your laptop.


Share this post


Link to post
Share on other sites
Now we know it is definitely supported but what do i need to do to my shader to get it to run properly on thee cards

Share this post


Link to post
Share on other sites

Now we know it is definitely supported but what do i need to do to my shader to get it to run properly on thee cards

Intel's shader implementation is far, far stricter than NVidia's. NVidia allows all sorts of non-standard crap, so in all likelihood your shaders are wrong, despite running fine on an NVidia card. I would recommend finding an AMD/ATI card to test on as well - they tend to be similarly strict about the OpenGL standards.

If that fails, try sacrificing a goat - my experience of these Intel parts are that even the supported OpenGL versions are riddled with interesting bugs and quirks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!