I am going "backwards" for terrain generation: I am procedurally generating a terrain and its normals. I am then generating a bitmap of the terrain to be used as a 2D map. This is all working correctly and generating the results I want. But right now, the 2D map has "flat" shading -- how can I apply the terrain's generated normals to the 2D generated bitmap?
Ideally, I would like to apply lighting as if the "sun" were directly overhead (at "high noon"). I have searched this and other dev sites, as well as the general internet, but haven't found anything specific for my needs, just theory and concept information.
Can anyone tell me how to do this or point me in the right direction? You don't have to supply code (although pseudo-code would be nice) but I just need an idea of where to start. I am using C#/XNA for my game but welcome ideas from any language.