Results 1 to 2 of 2

Thread: Alpha blending in DirectDraw

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    finland
    Posts
    1

    Unhappy

    So anyone has an idea on how to make alpha blending in directdraw? I'm using DX7...
    I really need it.
    Every day I'm being battered up until I bleed

  2. #2
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    The easiest way is to use Direct3D for 2D purposes. Most tutorials dealing with Direct3D are based on 3D (makes sense), so I had to find out myself how to use Direct3D, and here are the results:

    Direct3D -> 2D: Rotation
    Direct3D -> 2D: Fake lighting
    Direct3D -> 2D: Alpha Blending, and an easier and faster way to fake lighting

    All these samples use the easiest form of Direct3D, without real lighting or matrices.

    I hope they're of some use to you!
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

Posting Permissions

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



Click Here to Expand Forum to Full Width