what i want to do is render out a map for my object which is lightest at the bottom and darkest at the top.. sort of like the "Value Gradient - Beginning the Hirearchy" slide in the Dota2 workshop art guide:
http://media.steampowered.com/apps/dota2/workshop/Dota2CharacterArtGuide.pdf
ive already tried using a dome and skylight but that only provides directional shadows for the top surfaces.
Replies
edit - because you need to bake this with the proper uv's instead of the planar one, you need to copy your model first and using the uvwmap modifier on this.later when you bake,select your original model, and on the bake dialogue, pick the uvwmapped for projection.
A) In the material editor, assign a gradient/gradient ramp to the diffuse slot of a material, go into that map slot.
Set the map channel to 2, this will cause only this map slot to use UV2.
C) Apply another UVW Unwrap modifier (you can delete this when your done so you don't have extra UVs cluttering up your model).
D) Set the new UVW Unwrap modifer to use Map Channel 2 and apply your planar unwrap. Assign your gradient material to your model.
E) In RTT leave the OUTPUT channel at the default 1.
This will take whatever is on the surface of the model and bake it to the UV layout of 1.
F) Then bake a diffuse map.
That way it will only pull the color info off of the surface and none of the lighting like a complete map will.
Note: A complete map is a full render; diffuse, spec, bump plus all of the scene lights, everything! Even you don't have lights in the scene it will still capture the default lighting which is an omni light behind the viewport camera. Rendering a diffuse map allows you to skip all of the lighting adjustment steps.
Then overlay or multiply your gradient over your diffuse map and away you go.
If you accidentally collapse the stack with the 2nd UV still applied it will get baked into the model, which isn't a problem because you can delete it by going to Main Menu > Tools > Chanel Info and delete 2:map from the list. Or use a UVW Mapping Clear modifier.