From d17a32966afb2f7fdebfb58d37fa1b2d3e2d474b Mon Sep 17 00:00:00 2001 From: jvanverth Date: Thu, 9 Jul 2015 09:04:16 -0700 Subject: 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 --- resources/brickwork-texture.jpg | Bin 0 -> 155023 bytes resources/brickwork_normal-map.jpg | Bin 0 -> 180614 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/brickwork-texture.jpg create mode 100644 resources/brickwork_normal-map.jpg (limited to 'resources') diff --git a/resources/brickwork-texture.jpg b/resources/brickwork-texture.jpg new file mode 100644 index 0000000000..9a7dd11788 Binary files /dev/null and b/resources/brickwork-texture.jpg differ diff --git a/resources/brickwork_normal-map.jpg b/resources/brickwork_normal-map.jpg new file mode 100644 index 0000000000..4ff3c3a34e Binary files /dev/null and b/resources/brickwork_normal-map.jpg differ -- cgit v1.2.3