Add normal map sample
authorjvanverth <jvanverth@google.com>
Thu, 9 Jul 2015 16:04:16 +0000 (09:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Jul 2015 16:04:16 +0000 (09:04 -0700)
commitd17a32966afb2f7fdebfb58d37fa1b2d3e2d474b
tree9055827bec41d80fa002b3689d45f73374210a54
parentef46468063efa99d028c6b40d170fccfb29b2fa8
Add normal map sample

This adds an example of an SkShader that does normal
mapping. It has a single directional light and an
ambient light.

Committed: https://skia.googlesource.com/skia/+/8e0da72ba890de395c9946ec6639c9e1e7b16027

Review URL: https://codereview.chromium.org/1212813009
gyp/SampleApp.gyp
resources/brickwork-texture.jpg [new file with mode: 0644]
resources/brickwork_normal-map.jpg [new file with mode: 0644]
samplecode/SampleLighting.cpp [new file with mode: 0755]