|
|
发表于 2005-4-6 18:52:00
|
显示全部楼层
Re:请问DraculaLin
function RGB1(Red, Green, Blue:Cardinal;Alpha:Cardinal=255):TColor4;
begin
Result:=cColor1( Red or (Green shl 8) or (Blue shl 16) or (Alpha shl 24));
end;
////////////
R:=(Sr+(255-Sr)/255*Dr)
G:=(Sg+(255-Sg)/255*Dg)
B:=(Sb+(255-Sb)/255*Db)
PowerDraw.Device.TexMap(Images[0], pBounds4(0,0,200,200),RGB1(R,G,B),tcNull,opDiffuse);
不知道??邮遣皇悄闼???
|
|