I'm trying to make a program that simulates shadows in a 2D environment and I need some help in determining how things should look.
For example, if my light source is red and the illuminated object is blue (only radiates light in the blue frequency), how should it look when I shine red light on it?
How about the other way around? Since blue light has higher frequency/energy than red light, will the result be different if the light is blue and the object is red?
If these things depend on a lot of factors (like the properties of the material), I would rather not go into that, the simulation does not need to be that realistic. I would just want an approximate idea of what should happen.