PBR Material Loader from cc0textures.com

Hello,
I recently made a small helper class to load and try out different materials from cc0textures.com
It downloads the zip file with all the maps and returns a threejs Material.
Material can be loaded like this:

new CC0MaterialLoader().load('https://cc0textures.com/get?file=Ground019_2K-JPG.zip', (params)=>{
    mesh.material = new MeshStandardMaterial(params);
});

Source on github: GitHub - repalash/cc0textures-threejs: PBR Material loader from cc0textures.com for webgl projects.
Check out the demo: cc0textures three.js

6 Likes