Is there any way to get an object to cast shadows with SSAO differently than the rest of the scene? It seems like it should be possible with layers but I haven't been able to figure out how to do it. Basically, I want a stronger shadow under the car, but not elsewhere. Image:
Replies
Though I could be wrong.
Could you do something like project a shadow decal underneath the car? Assuming the car isn't going to flip over or anything that should work.
The way to make one is to put your car on a white square ground plane and do an AO bake on the ground plane. Then crop the darkened bits from the ground plane, tighten it up with levels adjustment so it fits nicely into a 512x1k or 512x512 texture, and use that for the blob shadow.
The camera with the SSAO effect on it, needs to have the render layers set up so that it doesn't render the objects you don't want included in the SSAO pass.
But, assuming your camera with the SSAO on is also the camera that renders the scene, you might need two cameras, one for rendering the scene and another identical one that renders the SSAO.
But in this case, I suspect a blob shadow will be a lot easier