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