SceneShadow: Add an object to manage the render target for the depth pass
from which we'll later generate the horse's shadow when we render the ground.
Notice the pass-through varying for the normal.  This is a bit of a workaround
for the set up of the mesh, which will attempt to enable vertex attribs for
both position and normals (some shader compilers will optimize out an unused
attribute, which means the attribute location is -1 and the mesh code will
generate an error).
3 files changed