BasKuenen
10-28-2000, 06:24 AM
I want to do fast texture switching. What I mean is this:
Lets say I've got 2 textures (256x256). One for the floor, and one for the walls. When I'm rendering I'm switching between those 2 textures all the time using glBindTexture().
Is it smart to switch all the time, or is it faster to use one rendering pass for the floor, and one for the walls? Two rendering passes also call for more processor time.
In other words:
- Is switching textures using glBindTexture() very slow?
- Does it make much difference hardware/software rendering?
Lets say I've got 2 textures (256x256). One for the floor, and one for the walls. When I'm rendering I'm switching between those 2 textures all the time using glBindTexture().
Is it smart to switch all the time, or is it faster to use one rendering pass for the floor, and one for the walls? Two rendering passes also call for more processor time.
In other words:
- Is switching textures using glBindTexture() very slow?
- Does it make much difference hardware/software rendering?