Neither is BlendMode(LIGHTBLEND), Is this a driver or OS issue? It's not the card as it works fine under XP.
SetColor not working on Win98
BlitzMax Forums/BlitzMax Programming/SetColor not working on Win98 Is this in GL and DX?
both
Let me show two examples of ALPHABLEND, one works and the other does not.
Not Working, image does not fade in.
This works and shows the image at Alpha 0.5
Let me show two examples of ALPHABLEND, one works and the other does not.
Not Working, image does not fade in.
Graphics 640,480,0 ima:Timage = LoadImage("bg4.jpg") Local a:Float Local b:Float For a = 0 To 1000 Cls b = a / 1000 SetBlend(ALPHABLEND) SetAlpha(b) DrawImage ima,0,0 Flip FlushMem() Next
This works and shows the image at Alpha 0.5
Graphics 640,480,0 ima:Timage = LoadImage("bg4.jpg") SetBlend(ALPHABLEND) SetAlpha(0.5) DrawImage ima,0,0 Flip
Try in fullscreen ... perhaps Win98 does not support windowed alpha? (or the Win98 driver does not, no idea)
The issue is that one bit of code does the alpha properly and the other does not.
I have actually fixed it now. I have to reset the SetBlend with SetBlend(SOLIDBLEND) and the set it back to ALPHABLEND for it to work. What a Nightmare!
I have actually fixed it now. I have to reset the SetBlend with SetBlend(SOLIDBLEND) and the set it back to ALPHABLEND for it to work. What a Nightmare!
I have actually fixed it now. I have to reset the SetBlend with SetBlend(SOLIDBLEND) and the set it back to ALPHABLEND for it to work. What a Nightmare!
report it as a bug as this sounds iffy. Have done.