Results 1 to 2 of 2

Thread: How does the color in ofp works

  1. #1

    Thumbs up

    Hello all,
    How does the color in OFP work. I saw in multiple places:

    color="0.00, 0.00, 0.00, 0"

    Is it with RGB or another method. Please help me!

    Thanks!

  2. #2
    BratZ
    Guest
    Quote from Vektorbosons drop tutorial:

    Yellow is a mix-up of red and green, so yellow=[1, 1, 0, 1] and black [0, 0, 0, 1] and white [1, 1, 1, 1].

    So our color format is (like everywhere else in OFP): [RED, GREEN, BLUE, ALPHA]

    Alpha is opacity or transparency. 1 is fully opaque, while 0 means full transparency (invisible)!

    http://home.arcor.de/vektorboson/en/index.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •