From aea081b45a71b02a9d7c09381a66abb33a0e8fa0 Mon Sep 17 00:00:00 2001 From: Lee Stemkoski Date: Sun, 27 Mar 2022 23:16:26 -0400 Subject: [PATCH] experimenting with THREE.ShaderChunk --- shader-chunk-lambert.html | 228 ++++++++++++++++++++++++++++++++++++++ shader-chunk-phong.html | 200 +++++++++++++++++++++++++++++++++ 2 files changed, 428 insertions(+) create mode 100644 shader-chunk-lambert.html create mode 100644 shader-chunk-phong.html diff --git a/shader-chunk-lambert.html b/shader-chunk-lambert.html new file mode 100644 index 0000000..3fcb566 --- /dev/null +++ b/shader-chunk-lambert.html @@ -0,0 +1,228 @@ + + + + + A-Frame - using shader chunk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/shader-chunk-phong.html b/shader-chunk-phong.html new file mode 100644 index 0000000..1b8d2b4 --- /dev/null +++ b/shader-chunk-phong.html @@ -0,0 +1,200 @@ + + + + + A-Frame - using shader chunk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file