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?



You must log in to answer this question.

Browse other questions tagged .