12a How to texture cubes three.js

Опубликовано: 27 Декабрь 2024
на канале: flanniganable
4,245
like

Learn how to add the same texture (image) to all sides of a cube three.js
Learn how to add different textures (images) to different sides of a cube three.js

Timestamps:
00:00 Intro/demo
00:15 How to add the same texture (image) to all sides of a cube three.js
01:38 How to add different textures (images) to different sides of a cube three.js

Resources:
Free textures at:
https://www.textures.com/library
https://opengameart.org/
https://polyhaven.com/
or make your own on a graphics editor

three.js texture documentation:
https://threejs.org/docs/#api/en/text...

Brief intro to texture mapping:
https://discoverthreejs.com/book/firs...

Credits:
Tree bark texture:
Bart K. at https://opengameart.org/content/seaml...

Minecraft style grass block:
Dimred at https://opengameart.org/content/grass...