当我尝试编译解决方案时,出现以下错误
error x3539 ps_1_x is no longer supported
(68,23); ID3DXEffectCompiler;;CompileEffect: There was an error compiling expression ID3DXEffectCompiler: compilation failed
最佳答案
您需要将着色器从ps_1_1
切换到ps_2_0
。既然您没有提供任何资源,那么... see the XNA 3.1 to XNA 4.0 cheat sheet for more information.祝您好运!
https://stackoverflow.com/questions/10179226/
相关文章:
gcc - 使用arm-linux-gcc编译STLPort时发生未知错误
visual-studio-2010 - MS VS 2010 srand()无法编译?
visual-c++ - 升级项目:operator '=' is ambiguous and 'i
objective-c - 初始化程序元素不是编译时常量错误
database - 为Windows和Linux编译64位sqlite
ant - 如何在不使用 IDE(Netbeans 等)的情况下使用外部库编译 java 文件?