subtract textures

Hi you all,

I need to do texture subtractions as fast as posible. Any suggestions?

Yangshu

try this extensions:

ARB_texture_env_combine
EXT_texture_env_combine
NV_register_combiners

also glBlendEquation(GL_FUNC_SUBTRACT), on a card that supports none of the above.
It’s part of the imaging subset, so performance may(will) vary wildly from card to card.