Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Struggling with textures in Godot 4.1

A topic by LowQualityRobin created Aug 01, 2023 Views: 165 Replies: 2
Viewing posts 1 to 2
Submitted (1 edit)

I'm having issues with getting the above texture to repeat. I'm not sure where else to ask this, so any help with either the texture issue or in finding a better place to ask this question would be greatly appreciated. Thanks!

Update: It now appears fixed in the editor, but during gameplay the issue is still there.

Hey, messing around with UV1 should help: Ask Godot

With 3D there isn’t really the same option to tile textures perfectly as in 2D. The issue stems from the texture being placed on vertices in 3D space. The texture doesn’t really have a way of knowing how big is the surface it’s on. Here with a plane it looks trivial, but on a character model it is really not - and the rendering code is the same for both.

I just thought I’d explain why this is. Adjusting your UVs until it tiles nicely should work fine.

Good luck!

Submitted

Thanks. I seem to have gotten it working in the editor, just not the game itself. In hindsight it probably just didn't update properly. Fortunately I'm not texturing anything more complex than plains and boxes.