Month: March 2007

Embedded Your Shader Souce Code In Your C/C++ Apps

The NVIDIA developer blog shows a way to include shaders codes to your windows exe: But this example is not fully operational. I slightly modified the code to make it totally operational (I compiled it on vc++ 6.0): 1) Add a define to your resource.h file: #define IDF_SHADEFILE 1000 2) Add an entry in […]