#Generating custom textures

5 messages · Page 1 of 1 (latest)

unreal osprey
#

Hey. I'm looking for a way to generate textures that consist of multiple areas. I want to map textures to those areas as shown in the second picture.
I'm not really sure how to tackle this problem. Should I look into shaders? Is there some sort of texture that supports modification like that? Any interesting ideas would be a huge help.
Context: My game idea is a physics-based 2D virtual aquarium in which you are able to breed fish and then get new fish with new combinations of custom generated textures.

rocky vessel
#

The first thing that comes to mind would be using a sprite with a texture in the shape of the area, using its clip_children property to make it act only as a mask, and give it a TextureRect as a child, tiling the texture.

quartz nacelle
#

This is a 3D shader but the concepts should still apply, I think.