aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-07-09 09:04:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-09 09:04:16 -0700
commitd17a32966afb2f7fdebfb58d37fa1b2d3e2d474b (patch)
tree9055827bec41d80fa002b3689d45f73374210a54 /resources
parentef46468063efa99d028c6b40d170fccfb29b2fa8 (diff)
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
Diffstat (limited to 'resources')
-rw-r--r--resources/brickwork-texture.jpgbin0 -> 155023 bytes
-rw-r--r--resources/brickwork_normal-map.jpgbin0 -> 180614 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/resources/brickwork-texture.jpg b/resources/brickwork-texture.jpg
new file mode 100644
index 0000000000..9a7dd11788
--- /dev/null
+++ b/resources/brickwork-texture.jpg
Binary files differ
diff --git a/resources/brickwork_normal-map.jpg b/resources/brickwork_normal-map.jpg
new file mode 100644
index 0000000000..4ff3c3a34e
--- /dev/null
+++ b/resources/brickwork_normal-map.jpg
Binary files differ