├── .gitignore
├── README.md
├── threejs-1_basic.zip
├── threejs-1_basic
├── index.html
└── three.js
├── threejs-2_geometry.zip
├── threejs-2_geometry
├── index.html
└── three.js
├── threejs-3_materials.zip
├── threejs-3_materials
├── index.html
└── three.js
├── threejs-4_shadermaterial.zip
├── threejs-4_shadermaterial
├── index.html
└── three.js
├── threejs-5_lightscamera.zip
├── threejs-5_lightscamera
├── ShadowMapViewer.js
├── UnpackDepthRGBAShader.js
├── index.html
└── three.js
├── threejs-6_postprocessing.zip
├── threejs-6_postprocessing
├── ClearPass.js
├── CopyShader.js
├── DigitalGlitch.js
├── EffectComposer.js
├── FilmPass.js
├── GlitchPass.js
├── RenderPass.js
├── SepiaShader.js
├── ShaderPass.js
├── TexturePass.js
├── TriangleBlurShader.js
├── index.html
└── three.js
├── threejs-7_models.zip
├── threejs-7_models
├── index.html
├── monkey.blend
├── monkey.json
├── monkey_animated.blend
├── monkey_animated.blend1
├── monkey_animated.json
└── three.js
├── threejs-7b_models.zip
└── threejs-7b_models
├── GLTFLoader.js
├── index.html
├── three.js
└── untitled.glb
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # threejs
--------------------------------------------------------------------------------
/threejs-1_basic.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diving-in/threejs/604de6a44940e822d9c38c73fb23273cf98091b3/threejs-1_basic.zip
--------------------------------------------------------------------------------
/threejs-1_basic/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | threejs - basic
4 |
5 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/threejs-2_geometry.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diving-in/threejs/604de6a44940e822d9c38c73fb23273cf98091b3/threejs-2_geometry.zip
--------------------------------------------------------------------------------
/threejs-2_geometry/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | threejs - geometry
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
1296 |
1297 |
1487 |
1488 |
1489 |
--------------------------------------------------------------------------------
/threejs-3_materials.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diving-in/threejs/604de6a44940e822d9c38c73fb23273cf98091b3/threejs-3_materials.zip
--------------------------------------------------------------------------------
/threejs-3_materials/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | threejs - material
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
360 |
361 |
362 |
--------------------------------------------------------------------------------
/threejs-4_shadermaterial.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diving-in/threejs/604de6a44940e822d9c38c73fb23273cf98091b3/threejs-4_shadermaterial.zip
--------------------------------------------------------------------------------
/threejs-4_shadermaterial/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | threejs - material
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
25 |
30 |
31 |
51 |
66 |
67 |
68 |
176 |
177 |
178 |
--------------------------------------------------------------------------------
/threejs-5_lightscamera.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diving-in/threejs/604de6a44940e822d9c38c73fb23273cf98091b3/threejs-5_lightscamera.zip
--------------------------------------------------------------------------------
/threejs-5_lightscamera/ShadowMapViewer.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @author arya-s / https://github.com/arya-s
3 | *
4 | * This is a helper for visualising a given light's shadow map.
5 | * It works for shadow casting lights: THREE.DirectionalLight and THREE.SpotLight.
6 | * It renders out the shadow map and displays it on a HUD.
7 | *
8 | * Example usage:
9 | * 1) Include
17 |
18 |
19 |
20 |
183 |