Hello,
I want to be able to reproduce certain effects, that are being achieved with additive blending, using snes9x. I've attached a screenshot of one of those effects. I can try to calculate what the original sprite looked like, by subtracting it from the background, however with bright effects like in the screenshot, I get certain inaccuracies due to color-clip (when background + effect > 255).
Is there any way to change the background-graphic that is shown in this mode, where BG#2 is off, to be pure black? The color shown seems to depend on the scene/tileset loaded.
I am fully able to modify the emulators source myself and compile it, if this is not a native feature, however I haven't found the right point to make this modification so any pointers would be appreciated.
EDIT: I wasn't able to succesfully attach an image, however just think of a light brown background with a gradient-light circle being drawn on top, with the center clipping into a pure white value
Change background-color when BG-layer is disabled
-
- Snes9x White Belt
- Posts: 2
- Joined: Tue Nov 07, 2023 6:09 pm
-
- Snes9x White Belt
- Posts: 2
- Joined: Tue Nov 07, 2023 6:09 pm
Re: Change background-color when BG-layer is disabled
Solved it myself. It was in
Had to simply change
To always select BlackColourMap.
Code: Select all
struct DrawBackdrop16
Code: Select all
GFX.ScreenColors = GFX.ClipColors ? BlackColourMap : GFX.RealScreenColors;