Note

Make sure you’ve read the general notes about all the nodes: Nodes reference

Simple windows drawer

This node draws the windows of a building facade into a texture set. It is called simple because it draws the windows as single-color rectangles, so its best used either as masks for more elaborate materials, or as is for distant views. It can draw into 2 different channels of the input texture set: albedo and emit (emit for lit windows to emit light using an emissive shader).

The node draws the windows row by row. For each row it has to decide a few values, all randomly chosen between the min and max you set:

  • the size of each window
  • the size of walls: the space between them horizontally and the space with the previous row of windows
  • the probability to skip some windows in the row

For each window it has to decide, also using the values you provide:

  • albedo color of the window
  • wether the window is lit or not, and if so, its lit color

Examples

../_images/simple_windows_albedo_example.png

Example albedo channel

../_images/simple_windows_emit_example.png

Example emit channel

../_images/simple_windows_render_example_2.jpg

Render on a cube

../_images/simple_windows_render_example_1.jpg

With different random hues