|
|

楼主 |
发表于 2007-4-26 22:42:00
|
显示全部楼层
Re:好痛苦,编译器又不报错,图像就是出不来,都不知道
VC没报错,用cgc编译vertexshader.cg文件后发生如下错误:
--------------------Configuration: twisting_texture - Win32 Debug--------------------
Performing Custom Build Step on .\vertexShader.cg
.\vertexShader.cg
.\vertexShader.cg(12) : warning C7011: implicit cast from "float4" to "float2"
(12) : fatal error C9999: InitHAL failed
cgc: unknown profile "CG_PROFILE_ARBVP1".
Error executing c:\windows\system32\cmd.exe.
vertexShader.vp - 1 error(s), 1 warning(s)
编译pixelshader.cg
--------------------Configuration: twisting_texture - Win32 Debug--------------------
Performing Custom Build Step on .\pixelShader.cg
.\pixelShader.cg
.\pixelShader.cg(12) : error C1068: too much data in type constructor
Error executing c:\windows\system32\cmd.exe.
pixelShader.fp - 1 error(s), 0 warning(s)
|
|