├── .eslintignore ├── .eslintrc.cjs ├── .github ├── screenshots │ ├── asset-manager.png │ ├── console-build.png │ ├── console-error.png │ ├── console-start.png │ ├── console.png │ ├── console.psd │ └── demo.png └── workflows │ └── deploy-github-pages.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── esbuild.js ├── logging-utils.js ├── package.json ├── public ├── assets │ ├── ouside-afternoon-blurred-hdr.jpg │ ├── spotty-metal │ │ ├── albedo.jpg │ │ ├── metalness.jpg │ │ ├── normal.jpg │ │ └── roughness.jpg │ └── suzanne.gltf ├── css │ └── style.css └── index.html ├── src ├── index.js ├── scene │ ├── Box.js │ ├── CannonSphere.js │ ├── Suzanne.js │ └── lights.js ├── screenshot-record-buttons.js └── utils │ ├── AssetManager.js │ ├── ExponentialNumberController.js │ ├── WebGLApp.js │ ├── customizeShader.js │ ├── loadEnvMap.js │ ├── loadGLTF.js │ └── loadTexture.js └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/screenshots/asset-manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/asset-manager.png -------------------------------------------------------------------------------- /.github/screenshots/console-build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/console-build.png -------------------------------------------------------------------------------- /.github/screenshots/console-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/console-error.png -------------------------------------------------------------------------------- /.github/screenshots/console-start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/console-start.png -------------------------------------------------------------------------------- /.github/screenshots/console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/console.png -------------------------------------------------------------------------------- /.github/screenshots/console.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/console.psd -------------------------------------------------------------------------------- /.github/screenshots/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/screenshots/demo.png -------------------------------------------------------------------------------- /.github/workflows/deploy-github-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.github/workflows/deploy-github-pages.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | package.json 2 | .* 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/README.md -------------------------------------------------------------------------------- /esbuild.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/esbuild.js -------------------------------------------------------------------------------- /logging-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/logging-utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/package.json -------------------------------------------------------------------------------- /public/assets/ouside-afternoon-blurred-hdr.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/assets/ouside-afternoon-blurred-hdr.jpg -------------------------------------------------------------------------------- /public/assets/spotty-metal/albedo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/assets/spotty-metal/albedo.jpg -------------------------------------------------------------------------------- /public/assets/spotty-metal/metalness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/assets/spotty-metal/metalness.jpg -------------------------------------------------------------------------------- /public/assets/spotty-metal/normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/assets/spotty-metal/normal.jpg -------------------------------------------------------------------------------- /public/assets/spotty-metal/roughness.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/assets/spotty-metal/roughness.jpg -------------------------------------------------------------------------------- /public/assets/suzanne.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/assets/suzanne.gltf -------------------------------------------------------------------------------- /public/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/css/style.css -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/public/index.html -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/index.js -------------------------------------------------------------------------------- /src/scene/Box.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/scene/Box.js -------------------------------------------------------------------------------- /src/scene/CannonSphere.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/scene/CannonSphere.js -------------------------------------------------------------------------------- /src/scene/Suzanne.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/scene/Suzanne.js -------------------------------------------------------------------------------- /src/scene/lights.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/scene/lights.js -------------------------------------------------------------------------------- /src/screenshot-record-buttons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/screenshot-record-buttons.js -------------------------------------------------------------------------------- /src/utils/AssetManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/AssetManager.js -------------------------------------------------------------------------------- /src/utils/ExponentialNumberController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/ExponentialNumberController.js -------------------------------------------------------------------------------- /src/utils/WebGLApp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/WebGLApp.js -------------------------------------------------------------------------------- /src/utils/customizeShader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/customizeShader.js -------------------------------------------------------------------------------- /src/utils/loadEnvMap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/loadEnvMap.js -------------------------------------------------------------------------------- /src/utils/loadGLTF.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/loadGLTF.js -------------------------------------------------------------------------------- /src/utils/loadTexture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/src/utils/loadTexture.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcofugaro/threejs-modern-app/HEAD/yarn.lock --------------------------------------------------------------------------------