Login  Register

What GL Version should I use for Texture Rendering.

classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

What GL Version should I use for Texture Rendering.

Bertrahm
7 posts
So since I have fixed all my issues regarding texture loading, I have found conflicting statements about how I should render textures, some say that it is completly fine to do it with GL2 functions and others say that I always should do that using shaders.
What I want to know is, is there any major performance difference between GL2 texture rendering and GL3?
Wir sind Schaufensterpuppen|Twitter
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: What GL Version should I use for Texture Rendering.

gouessej
Administrator
6039 posts
Hello

Either you can use the programmable pipeline when it's available and use the fixed pipeline as a fallback but it means that you add a constraint into the design of your engine or you can use only one specific pipeline depending on which hardware you target. The performance difference depends on what you do with textures and some aspects haven't changed. Please be more accurate.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: What GL Version should I use for Texture Rendering.

Bertrahm
7 posts
The engine will only support 2D Graphics, and I do not need (but would like to) have shaders.
Wir sind Schaufensterpuppen|Twitter