Geeks With Blogs


Vitaly Dilmukhametov HLSL
[Solving]: FXC.exe shader compiler “…exited with code 1”
Recently I found interesting “feature” of fxc compiler (it’s a part of MS DirectX SDK). When you try to compile shaders, and path to source code contains non-Latin characters, you’ll get error like following: Error 1 The command ""%DXSDK_DIR%Utilities\bin\... /T vs_2_0 /O3 /Zpr /Fo "f:\????????\SilverlightApp... "f:\????????\SilverlightApp... "%DXSDK_DIR%Utilities\bin\x... /T ps_2_0 /O3 /Zpr /Fo "f:\????????\SilverlightApp... ......

Posted On Wednesday, August 10, 2011 10:10 AM

HSLS syntax highlight in Visual Studio 2010
Visual Studio 2010 is not support built-in syntax highlight for HLSL, and I found great soultion – NShader – HLSL\ GLSL \ CG - Shader Syntax Highlighter add-in for Visual Studio. And now editor window with loaded *.fx file looks like following: NShader support VS 2008 and 2010, and it’s free. Another way to get syntax highlight is to set VS for opening *.fx in Notepad++ (with one of HLSL language definitions, it hasn’t built-in support). I like to stay inside Visual Studio, so I prefer NShader :) ......

Posted On Friday, May 13, 2011 12:26 PM

Copyright © Vitus | Powered by: