那要注意的是像gamebryo,它則是要在technique這邊宣告一些東西
technique testTechnique
<
string Description = "Gamebryo annotation";//這行只是描述而已
string ShaderName = "testTechnique";//gamebryo這行要match technique的名字
bool UsesNiRenderState = true;//要設為true, gamebryo才會設定render state
>
{
pass P0
{
.....
ZEnable = false;
AlphaBlendEnable = false;
}
}
沒有留言:
張貼留言