Jump to content
  • Advertisement

Archived

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

hello_there

multi texturing and cg

This topic is 5132 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''m using multi textureing in opengl to draw stuff. now i want to add cg stuff i was wondering since i''m want to use cg do i have to do the multi textureing myself in a cg program? Also when you have a fragment programe do you have to have a vertex program as well or can you just have a fragment program by itself?

Share this post


Link to post
Share on other sites
Advertisement
Yes, you have to do multitexturing by yourself in fragment shader.
You can use fixed pipeline for vertex shader, and own fragment.
But I think it is better to use own vertex shader for readibility.


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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!