
04-08-2002, 05:28 PM
|
|
Wishing he had 3 feet
|
Join Date: Aug 2001
Location: Basement
Posts: 1,565
|
|
Quote:
Originally posted by Falcor
I dont know why it would be so hard. other games use shading quite well, it never slows the game down. And most games use REAL transparency. not lights. If you made a black image a light in graal, you could never see it! whil in other games. it would be acually transparent.. You need a way to specify the alpha layer rather than using the image itself as its alpha layer
observe
showimg index,image,x,y;
changeimgalpha index,alphalayer;
Alpha layers would be a grayscale image that would specify the opacity in certain spoits of the image. THUS we could simulate shadows and other things.
So in o therwords. In your alphalayer image WHITE would be OPAQUE (solid color) and Black would be INVISIBLE (0% opacity)
and the scales inbetween white and black would be different levels of opacity.
Another way we could do this is
changeimgalpha index,opaceity;
opacity would be a value between 0-1; specifying how opaque and transparent an image ould be. But alpha layer would be more custom.
|
Easy to say... |
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
|
|
|
|