I've trawled back through the archive and read mention of some problems with the SDK shader samples but no definitive answer as to the issue.
Basically I've downloaded the DirectX SDK (Dec 2005), ActivePerl and copied the binaries over as needed. I compiled the sample shaders as per the Wiki page, they compiled and the shaders are all in \MyMod\shaders\fxc just fine. I've used the sample VMTs as directed. I copied the sample C++ from the SDK_PostProcess.cpp and inserted it into view_render.cpp just before it starts to draw the 2D elements on the screen. Start my mod, everything runs O.K. Except instead of the post-process shader sharpening the view, I get a wireframe rectangle with a diagonal line and the console message: Error: Material "sdk/sdk_postprocess" uses unknown shader "SDK_PostProcess" I've double checked the shaders are there, checked the parameters in the VMT, and checked the path/name in the FindMaterial function - all are fine. I just can't get the SDK_PostProcess shader to work. I tested the code by simply telling it to use one of the default shaders (the TV monitor one) and it works fine, giving my a greyscale view with noise so as far as I can tell the code is as it should be. Theres just something with the sdk shader that doesn't want to work and I'm completely stumped! _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders