Basic three.js viewer for Material Maker (Standard PBR Material)
Custom export target is used in Material Maker (download here) which creates a (MeshStandardMaterial) .json file with associated textures, and can be imported using MaterialLoader (not directly, textures are still loaded seperately) in three.js
The following should give you a local development server running on http://localhost:XXXX, which you can then run in your browser
npm install
npx vite
Currently the following are exported (more to be added):
- Albedo
- Roughness Map
- Metalic Map
- Normal
- Ambient Occulusion
- Depth (Displacement/Height Map)
Materials (CC0) by Pavel Oliva
Epping Forest 1K via Polyhaven (CC0)
Material Maker Project by RodzLabs