试图找到 HLSL 编译器
在谷歌上搜索“HLSL 编译器”和一些东西,我很沮丧地无法找到在哪里可以找到适用于 D3D9 的独立 HLSL 编译器,这样我就可以知道哪些行导致了问题。
我在 SDK 中看不到任何内容,但也许它有一个我不认识的名称?
Googling for "HLSL compiler" and a few things, I'm frustratingly unable to find where to look for a standalone HLSL compiler for D3D9 so I can tell which lines are causing problems.
I can't see anything in my SDK but perhaps it has a name I am not recognising?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于可以在 XNA/DX (PS 2.0-3.0) 中使用的 HLSL 效果,您可以尝试:
3DPee (Tridipy) 播放器和着色器编辑器
它对图像和视频进行操作。
它支持多通道技术、顶点着色器,并且有一个很好的编辑器,可以在编译时报告错误消息。
这是我开发的 alpha 版本,但它很有用。
截屏:
For HLSL Effects that you can use in XNA/DX (PS 2.0-3.0) you can try:
3DPee (Tridipy) player and shader editor
It operates on images and video.
It supports multi pass technique, vertext shader, and has a nice editor with error message reporting on compile.
It's an alpha version i have developed but it can be useful.
Screenshot:
HLSL 编译器名为
fxc.exe
,位于 DirectX SDK 的“实用程序”下。我的系统上的路径是:
The HLSL compiler is called
fxc.exe
and is located in the DirectX SDK under Utilities.The path on my system is: