Sniper's Paradise - Brushes


Introduction to Brushes

A brush is really a 3D shape that is used to create the environment that the player will be able to travel in. A brush can take many properties, which are described in the brushes reference section of this file, but put simply a brush is a 3D shape that is used (most commonly) with other brushes to create the level.

If you are coming to the Unreal Editor from another 3D application, you may know the term mesh, which would be a close relative of the brush. In the Unreal Engine, a mesh is slightly different, but the main concept is the same.

A brush may technically be any 3D shape (from the primitive shapes such as cube, cone, sheet etc through to complex shapes such as stairs, mountains, anything imaginable) inside the editor.

Constructive Solid Geometry (CSG)

Brushes are used in conjunction with CSG operations, which will turn the information that the brush holds (about size, position, shape etc) into something that is visible or invisible and interacts with the player to construct the 3 dimensional environment, like blocking them, showing a texture, creating a zone portal or providing a set of stairs to reach the platform above them.

Once the CSG operation has been performed (e.g. additive, subtractive etc) the active brush is recreated, allowing for the next operation. After an operation has been performed, changing the active brush will not affect it in any way. Only through changing the brush that was placed in the operation can the area be changed.

An additional operation converts the active brush into a new added brush, filling the area enclosed within the bounds of the brush with solid (impassable) area. In a solid space, this has no real effect, however in an empty space, this creates an impassable area in the shape of the brush. A simple example of an additive operation would be a pillar standing within a large open area. The large open area is "subtracted", leaving space for the player, then the pillar is "added" creating an impassable area that blocks the player in any situation. Remembering that the world starts as a huge solid (filled) shape, it is a simple matter of creating a cube (or any other 3D shape) and subtracting it. This will leave a void in the shape of the brush that was used, and the player will be able to move within that area.

A subtractive operation creates the opposite effect. It converts the active brush into a subtracted brush, leaving the area inside it empty (thus allowing a player to be inside that area). Within a solid space, a subtractive operation creates a void that the player is able to pass through. Creating a subtractive operation within an area that is already solid is meaningless - empty space cannot be subtracted from to get any effect. A good example of a subtractive operation would be a cave. The area around it is completely solid and impassable, yet the area within the rock is subtracted, allowing passage.



There are many different types of brushes, but they are all related in their native information about the 3D world that they are used to create. The only exception is the active brush, which is used to create the other brushes with and does not actually influence the level in any way.





This shows the types of brushes available in their default colors. The numbers correspond to more information on each type in the list below. There are two images of each brush type, the top image shows the brush as unselected, and the lower image shows the selected brush. For more information regarding brush types, read the brush reference section in this file.

  1. Active Brush This is the brush used to create all the other brushes in the Unreal Editor.

  2. Subtracted Brush This is a solid brush that has been subtracted.

  3. Added Brush This is a solid brush that has been added.

  4. Non Solid Brush This brush has been added as a Non Solid.

  5. Semi Solid Brush This is a semi Solid Brush.

  6. Mover Brush This is a brush that can move inside the environment.


1. The Active Brush is a special type of brush. It is the only brush actor in the Unreal Engine that does not actually influence the final environment in any way. It is a go-between tool used to create other brushes. The active brush is highlighted in red, and never actually has any solidity.

It can be well described like a mould used to create a brick. The mould itself does not get used when building a wall, but rather is used to create the bricks that will finally be used to make the wall.

When a CSG operation is performed, the active brush is used, and the properties that it has (size, location, rotation etc) are used to create a new brush in it"s place. The active brush can then be used to create the next brush through the next CSG operation. However, not all properties can be set in the active brush. For example, the active brush does not contain information on the texture to be placed onto the brush surfaces (This is not entirely true, but for the time being, assume that it only contains information as to the physical shape, size and location of the brush).

Unlike other brushes in the Unreal Editor, the active brush can be changed on the fly, with new size settings, location information and as soon as a CSG operation is performed, these settings are used to create the new brush. While the active brush does start as a cube, but can be any shape at all. It is not limited in any way. Through the use of the brush building tools in the Unreal Editor, almost any shape can be made through the active brush.



2. The Subtracted Brush creates an area of void, which the player is then able to move in. As any environment in the Unreal Engine starts off as solid space, at least one subtracted brush MUST be included in any level that is playable, as without it, there would be no physical space for the player in the environment.

This is a solid brush, and it makes BSP cuts to the level. A subtracted brush that is placed within a solid area will create a hollow area. However, if it is placed within another hollow area, it will not create a double subtracted area, but in fact has no further effet.

This brush type is used in conjunction with the subtractive CSG operation and will only change after a rebuild has occurred, as it relies on the CSG operation to create the effect that it has, and CSG operations only occur during the rebuild itself. The subtracted brush, like all other brushes (except the active brush - which is a special editor brush) takes its form from the active brush when a CSG operation is performed.

To place a subtracted brush into your level, shape the active brush and place it where you want the subtractive brush to be, then click the subtract button. (shown below). This will create the subtracted brush.





3. The Added Brush calls the additive CSG operation, filling an area previously taken out with the subtractive CSG operation (it fills back solid space to an area inside a subtracted brush). Placing an added brush into an area that is already solid is meaningless, as it will not double fill the area.

The added brush is a solid brush, and will create solid space where there is void, thus blocking the player from movement in the solid space. The brush will only change after a rebuild has occurred, as it relies on the CSG operation to create the effect that it has, and CSG operations only occur during the rebuild itself.

The added brush like all other brushes (except the active brush - which is a special editor brush) takes its form from the active brush when a CSG operation is performed.

Brushes in a CSG environment can have a few settings for solidity. The solidity of a brush defines how it interacts with a player and what effects it has on the environment as the engine is rendering it, and the binary space partition (BSP) as the level is played.

Many of the brushes that are used will be Solid. This means that they not only make BSP cuts but they either block the player (additive CSG operations) or allow the player passage (subtractive CSG operations).

A solid brush is the only type of brush that will create a BSP cut, and allow the player to collide with the brush, meaning that any brush that is subtractive (creating a place for the player to walk) has to be solid.

A non solid brush type can be added to the level, but it will not block the player in any way. A non solid brush will also not make any BSP cuts. This means a few things:

A semi solid brush is really a mixture of the solid and non solid brush types. It takes properties of both. It can block a player or actor (e.g. a bullet) and it doesn´t make BSP cuts to the level (From information on non solid brushes, you should see that because it doesn´t make BSP cuts to the level, it will reduce the node count in the level). However, because it doesn´t make BSP cuts to the level, you should also see that it can only be used as an additive brush. A semi solid brush however cannot be used to close off a zone. It is also a Dark Horse as far as brushes are concerned, as it can cause problems with player collision at times. Semi solid brushes should be used with caution and intuition.



To place a additive brush into your level, shape the active brush and place it where you want the additive brush to be, then click the add button. (shown below). This will create the additive brush.





4. The Non-Solid Brush creates a shape that, while visible does not block a player or any other actors. A common example of a non solid brush is the surface of a pool of water. The surface is visible, there is a texture on it, but it does not block the player in any way. Non solid brushes can be any shape or size.

Non solid brushes do not make any BSP cuts, and are therefore beneficial to framerate. Due to the fact that non solid brushes cannot block the player or any other actor, they are always used as zone portals, creating an invisible barrier between two zones, though not actually stopping the player in any way.

Changing a non solid brush will only be visible in the 3D view after a rebuild has occurred. A non solid brush, like all other brushes, (except the active brush - which is a special editor brush) takes its form from the active brush when it is created in the environment.

It is important to note that any sheet brush that is created is always created as a non solid brush, even if it is placed into the level via pressing one of the other CSG operators (like add or subtract). The sheet brush can actually even be displayed in a blue color (normally defining added brushes) or any other color, but is automatically treated as a non solid. This is especially important to remember when creating a shape that you want as a sheet (like a fence, or grilled floor) which in itself will not block the player, but the player should be blocked when trying to walk through. If this is the case, an invisible collision hull can be used to give the impression that the sheet is in fact blocking the player. However, it is noteworthy to remember not to place the invisible collision hull directly over the sheet, as this often causes BSP errors, resulting in display problems.

To place a non solid brush into your level, shape the active brush and place it where you want the non solid brush to be, then click the add special button. (shown below). This will open a dialogue window. Select non solid from the solidity options presented, and click OK. This will then create the non solid brush.





5. The Semi-Solid Brush are a special brush class, somewhere between non solid brushes, and solid brushes. It is a special class, because it takes attributes from both of those brush types. It will block a player, and it will block actors, but at the same time, it will not create BSP cuts, and it will not block a zone.

Semi solid brushes do not create BSP cuts, nor do they call the CSG additive operation (meaning that the area within them is technically still void, though it blocks the player from entering it) which means that a semi solid brush can only be an additive brush. This brush cannot be used to create a new room within a solid space, it can only be used to create a blocking shape within an area that the player can already get to.

As a semi solid brush does not make any BSP cuts, it can well have a beneficial affect on framerate. Even though the engine will still have to display the brush, because it does not make BSP cuts, it often means that the brush itself is simpler for the engine to display, and that in turn means that the area around it can be simpler for the engine to render.

Semi solid brushes are most commonly used as either decorations inside an area, or they are used to create parts of a level that do not require BSP cuts (for example, a pillar, or piping running along a wall). This is because of the lower BSP complexity that they confer upon the level due to lack of BSP cuts (This really is very important!).

To place a semi solid brush into your level, shape the active brush and place it where you want the semi solid brush to be, then click the add special button. (shown below).

This will open a dialogue window (shown below). Select semi solid from the solidity options presented, and click OK. This will then create the semi solid brush.





6. The Mover Brushes are a special type of brush in the Unreal Engine. They are brushes that are actually able to move within the engine during play. This makes them unique from the other brush types, which are static. Mover brushes do not create BSP cuts hence they do not complicate the BSP tree in a level (That is good for framerate!) They can however block a player (and do so by default) though they can be set to not block anything.

A mover brush is made by creating the shape using normal additive and subtractive brushes, then intersecting the active brush with the shape to form a single brush from the (often) complex shapes wanted for the mover brush. Using this method is also the only way to assign a texture to the mover itself. Once the brush itself is created, the add mover button is used to place the mover within the level.

To place a mover brush into your level, shape the active brush and place it where you want the mover brush to be, then click the add mover button. (shown below).This will place the mover within your level.





Brush Order is very important because brushes in the Unreal Engine are ordered, the BSP cuts are made following the brush order. Most commonly, there are two brushes that combine to create a final shape. First the subtractive brush, then the additive brush. This seems simple, as the order is as follows:

The subtractive brush is first, creating the basic shape of the room to be created, then the additive brush follows, creating the additional features for the room. However, there is often the need for more than two brushes to make up a particular shape. Another example would be the following:

We want a simple room, with a pillar in the middle of it, with a hole in the pillar that a player can see through.

While the order of brushes is not often an issue, complex maps and possible display problems can sometimes warrant the need to change the order of brushes. The Unreal Editor will automatically set the order of brushes based on the order that they are created in making editing much easier, but the concept of brush order is an important one.

Author: Tomasz 'Millennium' Jachimczak

Spam Killer

Back To Top
2005 Sniper's Paradise
All logos and trademarks are properties of their respective owners.
Unreal™ is a registered trademark of Epic Games Inc.
Privacy Policy
Website by Softly
Powered by RUSH