A texture can store more than color
A texture is an image placed on a model or particle. It can store color, hidden areas, surface detail or animation frames. Use the table to choose which kind of image you need.
| Type | Stored information | Use |
|---|---|---|
| Color map | RGB colors and painted patterns | Feed visible color; manage its color space. |
| Grayscale mask | White=1, black=0, intermediate density | Read a chosen channel for opacity or coverage; black is not automatically transparent. |
| Noise / flow | Irregular values or encoded direction | Distort an edge or UVs; agree on encoding and direction. |
| Normal map | Surface-normal direction | Change lighting detail, not the mesh silhouette. |
| Sequence / flipbook | A sequence of evolving shapes | Select cells using lifetime or time. |
Distinguish black RGB from zero alpha
A white circle painted on a black image still has a visible black background when placed directly on a surface. Connect its R component to Opacity/Alpha in the shader: white remains visible, gray becomes translucent and black disappears. A PNG exported with a transparent background stores transparency in A instead. Reading A from an opaque mask does not remove its black rectangle because A is one everywhere.
RGB means red, green and blue color components; A means Alpha, the transparency component. If one image stores both color and a mask, record which component contains each. Check sRGB when importing: an ordinary color picture and an R channel used as numeric opacity data need different treatment.
Match UVs, tiling and padding
UV coordinates determine which part of the image is placed at each point on the model. For a scrolling texture, make its repeating edges join and use Repeat. For a single soft light or cloud, leave a black margin and use Clamp to stop at the edges. In a flipbook image, check that nearby frames do not bleed into each other when displayed small.
For more detail, use the UV glossary and Normal Map glossary for those definitions.
Check file bytes and runtime memory separately
PNG compresses the image without losing its pixel information. A smaller PNG does not necessarily use proportionally less memory in a running game. Check imported resolution, mipmaps (smaller copies used at a distance), and the compression setting for the target hardware. Keep the editable PSD and engine-ready PNG as separate files.
Sizes such as 512×512 are learning examples, not universal requirements. Compare at the actual screen size on target hardware and retain enough detail to avoid blur or compression blocks.