Procedural Texture in three.js

Is there a way to make checker pattern like blender do because if I run my three.js app locally and use local texture it won’t load because Cross origin issue

You can easily start a local server, there are various options like nodejs, XAMPP but also very minimal server without installation that basically just serve files. There are browser plugins as well like this one.

There might be even in-built options by now.

3 Likes

thank you I thought chrome didn’t have any local web server extension, Thanks :grin:

As for this, you can create procedural textures using CanvasTexture (ex. this grass.)

1 Like