├── .eslintrc.json ├── .github └── workflows │ ├── lint.yml │ └── npm-publish.yml ├── .gitignore ├── .npmignore ├── .prettierrc ├── .size-snapshot.json ├── README.md ├── example ├── .env ├── .gitignore ├── config-overrides.js ├── package.json ├── public │ ├── draco-gltf │ │ ├── draco_decoder.js │ │ ├── draco_decoder.wasm │ │ └── draco_wasm_wrapper.js │ ├── font.woff │ ├── index.html │ └── suzanne-draco.glb ├── src │ ├── Scene.tsx │ ├── index.css │ ├── index.tsx │ └── react-app-env.d.ts ├── tsconfig.json └── yarn.lock ├── package.json ├── rollup.config.js ├── screenshot.png ├── src ├── index.ts ├── useMatcapTexture.tsx └── useNormalTexture.tsx ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.prettierrc -------------------------------------------------------------------------------- /.size-snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/.size-snapshot.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/README.md -------------------------------------------------------------------------------- /example/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true 2 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/config-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/config-overrides.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/package.json -------------------------------------------------------------------------------- /example/public/draco-gltf/draco_decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/public/draco-gltf/draco_decoder.js -------------------------------------------------------------------------------- /example/public/draco-gltf/draco_decoder.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/public/draco-gltf/draco_decoder.wasm -------------------------------------------------------------------------------- /example/public/draco-gltf/draco_wasm_wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/public/draco-gltf/draco_wasm_wrapper.js -------------------------------------------------------------------------------- /example/public/font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/public/font.woff -------------------------------------------------------------------------------- /example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/public/index.html -------------------------------------------------------------------------------- /example/public/suzanne-draco.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/public/suzanne-draco.glb -------------------------------------------------------------------------------- /example/src/Scene.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/src/Scene.tsx -------------------------------------------------------------------------------- /example/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/src/index.css -------------------------------------------------------------------------------- /example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/src/index.tsx -------------------------------------------------------------------------------- /example/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/rollup.config.js -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/screenshot.png -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/useMatcapTexture.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/src/useMatcapTexture.tsx -------------------------------------------------------------------------------- /src/useNormalTexture.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/src/useNormalTexture.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emmelleppi/use-r3f-assets/HEAD/yarn.lock --------------------------------------------------------------------------------