Color Fill Texture Layer

Fill a texture with a color. This is useful to create a base color to overlay other textures onto.

 

Property Snap Property Description

Render Resolution Width

width

The resolution to use for generating the texture. Affects subsequent texture layers.

Render Resolution Height

height

Column three, row three

 

Fill Color

color

The color to use for the fill. Can be a color Snap block or a CSS color string.

 

Examples of Color Fill Texture: inverting a texture

You can invert a texture image, and use Snap rules to turn the texture inversion on and off. The trick? A color fill of white, with the blending mode of “difference.”

  1. Create a material.

  2. Set the material > properties > color > albedo color to some color, like teal rgba(2, 80, 100, 1)

  3. Add a new albedo image texture layer.

    1. Select some image from the media folder, like the Epicor E logo.

  4. Add a new albedo color fill layer.

    1. Set the fill color to white rgba (255,255,255,1)

    2. Set the blending mode to “difference”.

You can use Snap rules to toggle this inversion on and off, by simply making that layer on the material active or not. In our example, “Box Material 4” has a layer called “Albedo Color Fill-Invert”. The scene is connected to a configurator which has a boolean field called “f-InvertThePattern”.

 

 

Keywords: invert, reverse, flip, negative.

Was this article helpful?