Howcome whenever I uncomment this line everything becomes invisible?
I think its making everything totaly transparent, but howcome?Code:Device.SetRenderState D3DRS_ALPHABLENDENABLE, 1
'Device is a Direct3DDevice8 instance
Printable View
Howcome whenever I uncomment this line everything becomes invisible?
I think its making everything totaly transparent, but howcome?Code:Device.SetRenderState D3DRS_ALPHABLENDENABLE, 1
'Device is a Direct3DDevice8 instance
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.