Start by opening this graphic of Tux the penguin: I recommend GIMP or Glimpse, but mtPaint or Pinta or even Inkscape can work just as well, depending on the nature of your graphics and your ability to translate these instructions to a different tool. To prepare a graphic with an explicit color reserved exclusively for a chroma key, open the graphic in your favorite graphic editor. For that to work, you must know the colors in your graphic. Instead, you can pick a color and turn it into an alpha value of 0 in your game framework. The value of alpha can range from 0 to 1, with decimal points being valid entries.īecause an alpha channel can be expressed in several different ways, relying on an embedded alpha channel can be problematic. RGBA graphics contain red, green, blue, and alpha. RGB graphics, for example, have red, green, and blue channels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |