Change background-color when BG-layer is disabled
Posted: Tue Nov 07, 2023 6:15 pm
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
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