How many TextureStates
How can I know “at runtime” how many TextureStates the graphic card will support? ? ?.
Mine only seems to support 2.
You can check the device caps to see how many stages are supported. MaxTextureBlendStages is the one you're looking for.
Quote:Original post by sirob
You can check the device caps to see how many stages are supported. MaxTextureBlendStages is the one you're looking for.
That defines the maximum number of stages. There is another caps, I believe MaxSimultaneousTextures that defines how many textures can be used in one draw call. Sometimes a card can handle 6 textures and 8 stages, like the Radeon 8500. Not every stage needs a separate texture, for example alpha blending can use one texture, in stage 1 apply it to the mesh for coloring and in stage 2 use it for alpha blending.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement