Archived

This topic is now archived and is closed to further replies.

Raloth

texenv with a single color component?

Recommended Posts

I have a bunch of large grayscale textures so I figured I might as well store four of them at a time in a single texture, but I can''t find anything that will let me take out a single color component with the same method as the GL_ARB_texture_env_combine extension. Isn''t there anything I can use?

Share this post


Link to post
Share on other sites
If you dont use pixel shaders i dont think you can. Maybe with glColorMask.





[ My Site ]
''I wish life was not so short,'' he thought. ''Languages take such a time, and so do all the things one wants to know about.'' - J.R.R Tolkien
/*ilici*/

Share this post


Link to post
Share on other sites
You''ll need NV Register Combiners / ATI Texture Shders for this. Or at least ARB dot3.

You should never let your fears become the boundaries of your dreams.

Share this post


Link to post
Share on other sites