Documentation / Node reference / tex nodes

tex/Color

Fills a texture with a single flat color.

Color

The constant a texture slot can accept: every texel holds the same color, so any input that wants a texture can be fed a fixed value without an image file. Use it as a plain base color, as a uniform roughness or metallic map, or as a blank mask to start from. One texel is enough for a constant, which is the default, and the resolution only matters when whatever reads the texture expects a given size.

Parameters

Name Type What it does
color Color4 The color every texel is set to. The alpha channel is written as-is, whatever the color space.
colorSpace UInt8 sRGB · Linear How the GPU reads the color back when sampling. sRGB is for a color you picked by eye, and it is decoded to linear light the way a color image is. Linear keeps the raw number, which is what a data texture wants: a roughness, a metallic value, a mask.
resolution Vector2UInt Texture width and height in texels. A flat color needs only 1x1; raise it when the node reading the texture expects a particular size.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.