I need help getting the proper ambient and light colors to display please. I was trying to create a black background with a white light on the character but all the lights are being blended with black, resulting in purple instead of white.
Here's what it looks like
I thought it was a consequence of blending with a dark background so I tried setting krypton.AmbientColor = Color.White but
that made the entire background purple
, not white. Then I tried to debug by replacing every instance of Color.Black in the code with Color.CornflowerBlue, including within Krypton's
files, but that changed nothing.
Here's my draw.
ScreenManager.GraphicsDevice.Clear(ClearOptions.Target, Color.CornflowerBlue, 0, 0);
Matrix view = camera.getTransform(ScreenManager);
this.krypton.Matrix = view;
this.krypton.AmbientColor = Color.CornflowerBlue;
this.krypton.Bluriness = 3;
Before LightMapPrepare, it looks like
, which is the expected result.
After LightMapPrepare, it looks like
, which seems to be where the colors are getting skewed since it is all purple.
After krypton.Draw, the final result is
, with all the colors shifted to darker hues. White has become purple, cornflower blue has become dark blue. Since I have removed anything that would be drawing black layers, I am stumped.
I haven't seen anyone else report the same problem so I'm not sure what is causing this abnormality. Can anyone suggest a possible solution or further debugging steps?
Thank you very much.