aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-07-08 14:21:47 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-08 14:21:47 -0700
commit8e0da72ba890de395c9946ec6639c9e1e7b16027 (patch)
treedecdcf51796b2b34d775d9d42cd2cef4b90b7cb7 /resources
parent0007bde42016f879db1ec564c9c64e9f2ffb6709 (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. 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