
2010年5月31日
编译vertex shader出现:\error X3025:global variables are implicitly constant,enable compatibility mode to allow modification.
这是因为当前编译的shader基于一个较老的shader版本,必须指定兼容模式D3DXSHADER_ENABLE_BACKWARDS_COMPATIBILITY才能 编译通过
posted @ 2010-05-31 23:30 红色康乃馨 阅读(78) 评论(2)
编辑