|
|
发表于 2005-4-11 18:34:00
|
显示全部楼层
Re: Re: Re:请教Effect的问题
260013004: Re: Re:请教Effect的问题
那是不是?每一个pass不能有继承的关系, 比如在pass1里的纹理混合
不能在pass2中继续连起来, 每一个pa...
[em7] [em7] [em7] [em4] [em4] [em4]!!!!!!
不好意思按错键, 按到了enter了, 发太快了,
如果小弟有错请大家原谅!!
请各位高手来指点一下!!!
那是不是?每一个pass不能有继承的关系, 比如在pass1里的纹理混合
不能在pass2中继续连起来, 每一个pass是不是都应为个体.
每一个pass都应从第一层纹理开始混合. 例如:
pass Pass2
{
AlphaBlendEnable = True;
SrcBlend = One;
DestBlend = One;
Texture[0] = <texture0>;
Texture[1] = <texture1>;
ColorOp[0] = SelectArg1;
ColorArg1[0] = Texture[0];
ColorOp[1] = Modulate;
ColorArg1[1] = Texture[1];
ColorArg2[1] = Current;
} |
|