learnd3d11
learnd3d11 copied to clipboard
1-1-3: HelloTriangle Shader compilation
trafficstars
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:
- make shader in VS project file and setup the settings -> load shader from .cso output file
- 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