commit | 4abe76b5de3f8346bf4d03e2c842aa0c181e5408 | [log] [tgz] |
---|---|---|
author | Jesse Barker <jesse.barker@linaro.org> | Mon Oct 22 09:55:55 2012 -0700 |
committer | Jesse Barker <jesse.barker@linaro.org> | Mon Oct 22 09:55:55 2012 -0700 |
tree | 95b81dbac113035b9994c8a2b87b7b66e20c7553 | |
parent | 7c261a377a5567cfaadb802fe297c2c10047201c [diff] |
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).