light levels - DD5 vs DX9

Started by hedgefield, Sun 03/05/2009 22:07:07

Previous topic - Next topic

hedgefield

Hey guys, quick question:

I have a couple of regions set up around some windows, where the player gets progressively brighter as he walks towards them.
Now, with DirectDraw 5, these regions increase the brightness of the whole sprite beautifully. I used that back in 2.62, but now in 3.12, with DirectX9, I've noticed it only raises the brightness while the contrast remains the same. In other words, only lighter areas actually become lighter, the blacks stay just as intense, which totally ruins the point of the lighting in the first place.



Any way to 'fix' this? I don't want to downgrade to DD5 again, it makes the whole game run slower and I'd lose the antialiasing on scaled sprites. I was already thinking alpha overlays, as discussed here a long time ago, as a way to also smooth out the shadow transitions, but this does bring all sorts of pratical problems along with it aswell.

Cheers.

GarageGothic

#1
This seems like a bug in the Direct3D engine that nobody caught yet. I'd recommend you mention this issue in the 3.2 BETA thread (with a link to this thread) to make sure that CJ sees it, perhaps it could be fixed before final v. 3.2.

xenogia

I noticed this issue to and have added it to the beta thread.

Pumaman

I've confirmed this as a bug with the D3D driver, and I'll get it fixed.

SMF spam blocked by CleanTalk