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
176 KiB
512x512px
176 KiB
512x512px
![](/AuroraMiddleware/skia2/raw/commit/be4c9b0a8b9a508cf0de66c0fa401fc1217a32db/resources/brickwork_normal-map.jpg)