coloured patterns

I’m working on my first Unity project, and am struggling to get to grips with textures/materials.

I essentially have a number of different shapes which I dynamically create. I want them to be textured with 4 different patterns: striped, checked, zigzags or plain, and I require 8 different coloured varieties. Do I need to create 32 textures, or is there a clever way I can just make 4 patterns, and 8 colours, and then combine them?

I am only just working on my first striping pattern, which I created as a small png file with black lines, and transparent gaps. However whenever I try to apply the texture, I just end up with a totally black shape. What am I doing wrong?

You can so it with 32 textures, or you need a shader that takes a pattern and assigns colors to different parts. But you’d need to learn shaders to some extent.

As for the transparent texture showing opaque, unless you’re using a transparent material the texture’s alpha will be ignored. Also depending on how you’re doing the transparency, some applications don’t save it in a way that Unity can use it so you’ll want to make sure the texture asset in Unity has an alpha.