By using a simple shader we can apply textures of any size to tilemaps - whilst preserving tile edges! This provides a lot more flexibility in the designs you can create for your tiles, and is arguably faster to create when you have less seams to worry about.
I also wanted to note that “putting large seamless textures on things” is not a new concept - its been around since the beginning of video games. But I have noticed that although it’s extremely common in 3D games, it seems to be used much less frequently in 2D games - especially with tilemaps. So hopefully this video brings some awareness to the technique, and helps some devs and artists out there!
Some animations made with the help of Motion Canvas
------------------------
Resources:
View the shader code here: https://godotshaders.com/shader/repea...
Sample Godot project: https://github.com/jess-hammer/repeat...
Sample Unity project: https://github.com/jess-hammer/repeat...
Should you wish to learn more, here’s another video demonstrating a similar technique:
• An unconventional approach to make TI...
------------------------
Chapters:
00:00 - Intro
00:31 - Putting textures on tilemaps
00:56 - Explanation of the shader
01:47 - Masking the tile edges
02:17 - I've been using this shader on basically all tiles now
02:27 - Limitations (handling multiple types of tiles)
03:10 - Outro
------------------------
Music:
https://pixabay.com/music/bossa-nova-...
https://pixabay.com/music/beats-untit...
C418 - Chirp
/ @madisonjamessmithmusic3641
Keywords:
tilemap shader, tilemap texture overlay, godot shader, godot tilemap, mask shader, tilemap clipping
Смотрите видео Easy texture overlay shader for tilemaps! онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь jess::codes 23 Ноябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 19,253 раз и оно понравилось 2.7 тысяч людям.