GraphicsProgramming / learnd3d11

Learn how to D3D11

Home Page:https://graphicsprogramming.github.io/learnd3d11/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1-1-3: HelloTriangle Shader compilation

deccer opened this issue · comments

Shaders can be compiled from file using D3D11Compile... but also from Visual Studio itself, that should be showed,

Learning how your IDE works and what it provides is a useful thing

I think this issue should also explain compiling shaders from a string

furthermore, should this be as a note - like a bubbles text box in 1-1-3 at the end of the shader compile section or at the very end of the 1-1-3 section which describes the process to:

  1. make shader in VS project file and setup the settings -> load shader from .cso output file
  2. compile shader from string

Hmm I thought i had closed this one, under the impression we discussed it briefly that its of no real use really