Author Topic: Directx 11  (Read 4444 times)

Yasharora

  • Guest
Directx 11
« on: August 10, 2021, 11:44:17 am »
I'm new to directx so I wanted to know how to compile shaders in codeblocks. I'm posting it here because the tutorial I'm following uses visual studio and the settings for hlsl compiling ,output directories and shader level can be configured from visual studio , which obviously I'm not aware of how to do that in codeblocks

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Directx 11
« Reply #1 on: August 10, 2021, 01:03:51 pm »
Probably this is something which might help you: https://wiki.codeblocks.org/index.php/Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
But you need to know in advance what commands you have to execute in order to compile a hlsl file to its binary variant.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]