Jump to content
  • Advertisement
Sign in to follow this  
Stranger

Shading languages...

This topic is 5195 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

Advertisement
Generally things like the graphics API used and the target hardware will have much more effect on your decision of shading language than the programming language, as long as support exists for that combination. For example with C# you would probably use DirectX, which suggests HLSL. If you were making a program with both DirectX and OpenGL support you would probably choose Cg.

I would definitely not pick the programming language based solely on shader language support, this should be only one of many many factors. Managing shaders just isn't that much code compared to all the other bits a typical application needs. It's just one part of the graphics system, and you've got lots of other bits aside from graphics to consider.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!