0
\$\begingroup\$

I started to learn HLSL because I want to upgrade the graphics of an old game from 2004. The game uses DirectX9, so I created a Vertex Shader with shader model 2.0 and now, I have two questions:

  1. After the compilation of the .hlsl file, what do I have to do with the .cso file? How I can include that file to my project/Visual Studio?
  2. If the game uses DirectX9, can I use DirectX11 for the HLSL?

Thanks.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.