Results 1 to 2 of 2

Thread: Howcome enabling alpha blending makes everything invisible?

  1. #1

    Thread Starter
    Addicted Member Cuallito's Avatar
    Join Date
    Apr 2001
    Location
    You know that chest that you could never get opened? If you ever do, I'm there.
    Posts
    136

    Howcome enabling alpha blending makes everything invisible?

    Howcome whenever I uncomment this line everything becomes invisible?

    Code:
    Device.SetRenderState D3DRS_ALPHABLENDENABLE, 1
    'Device is a Direct3DDevice8 instance
    I think its making everything totaly transparent, but howcome?
    BTW, Thanks for all your help

    Member of the anti-gay cross-dressing trans-species wolves alliance.

  2. #2
    Zaei
    Guest
    No one can tell with that line of code. Have you set "D3DRS_SRCBLEND" to "D3DBLEND_SRCALPHA", and "D3DRS_DESTBLEND" to "D3DBLEND_INVSRCALPHA"? What are your alpha colors?

    The first two are the important ones. It wont work if you dont have them.

    Z.

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