Jump to content
  • Advertisement

Archived

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

Raloth

texenv with a single color component?

This topic is 5456 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!