Skip to main content
Version: 10.0

Alpha Options

The Alpha Options section provides options for modifying how the material treats alpha. The effects of these options are heavily influenced by the Render Preset and other render settings.

These properties below can allow you to further modify how you want the Alpha to behave on the Shader, like the Fresnel effect, Angular Alpha, Distance Fade, and more.

Force Opaque​

Type
Toggle

This option forces the material to have an alpha value of 1. Generally, this will result in any transparency being disabled.

Alpha Mod​

Type
Range
Range
-1to1

Alpha Mod defines a direct value to add to or remove from the material alpha. This directly influences all alpha values on the material.

Global Mask​

Type
Dropdown
Options
Off1R1G1B1A2R2G2B2A3R3G3B3A4R4G4B4A

Select which Global Mask to use for the Alpha overall.

Alpha To Coverage​

Type
Toggle

Enable or Disable Alpha to Coverage. This affects how the shader is sampled by functions that read the coverage of a fragment.

Alpha to Coverage can be enabled in the cutout render mode to provide transparency levels when the viewer is using Multi-Sampled Anti-Aliasing (MSAA). The number of transparency levels is equal to the MSAA level.

Sharpened A2C​

Type
Toggle

Sharpened Alpha to Coverage (A2C) rescales the alpha value using the mipmaps.

This option is useful for using Alpha to Coverage on dense collections of cutout polygons that will be discernable from varying distances, such as vegetation and grass.

Mip Level Alpha Scale​

Type
Range
Range
0to1
Default
0.25

How much to use the mipmaps to rescale the alpha value. Only used when Sharpened A2C is enabled.

Dithering​

Type
Toggle

Enable or disable alpha dithering.

Dithering is a technique that introduces intentional noise in order to provide a perceptually smoother transition between two sharp differences in alpha. This is especially useful when using the Cutout rendering mode.

Dither Gradient​

Type
Range
Range
0to1
Default
0.1

The range to apply dithering over. The larger this value is, the more dithering will be applied.

Dither Bias​

Type
Range
Range
0to1
Default
0

The range bias of the gradient to apply dithering over.

Distance Alpha / Distance Fade​

Type
Toggle

Enable or Disable Distance Alpha. Distance Alpha can modify the alpha value based on the distance from the viewer (camera) to the object/pixel.

Pos To Use​

Type
Dropdown
Options
Object PositionPixel Position

Which position to use to calculate distance.

Pos To Use Options

Object Position​

Object Position will calculate distance relative to the origin of the object, resulting in the whole object having a uniform alpha change. This is useful for making an entire material change alpha based on the distance from the object itself.

Pixel Position​

Pixel Position will calculate distance relative to the position of each pixel. This means different parts of an object can have different levels of alpha. This is useful for making parts of an object appear or disappear based on distance without the whole object being affected.

Min Distance Alpha​

Type
Range
Range
0to1

The alpha multiplier that will be applied at the Min Distance.

Max Distance Alpha​

Type
Range
Range
0to1

The alpha multiplier that will be applied at the Max Distance.

Min Distance​

Type
Float

The distance (in meters) at which the Min Distance Alpha multiplier will be applied.

Max Distance​

Type
Float

The distance (in meters) at which the Max Distance Alpha multiplier will be applied.

Global Mask​

Type
Dropdown
Options
Off1R1G1B1A2R2G2B2A3R3G3B3A4R4G4B4A

Select which Global Mask to only affect the Distance Alpha / Distance Fade onto.

Fresnel Alpha​

Type
Toggle

Enable or Disable the Fresnel Alpha effect. Fresnel Alpha uses the angle between the viewer (camera) and the object's normal to modify the alpha.

This can be used to simulate materials that are more opaque at shallow angles, such as transluscent fabric (used for tights or stockings). It can be thought of as analagous to Rim Lighting, but for alpha instead of color.

Intensity​

Type
Range
Range
0to1

How much the alpha should be modified by the Fresnel Alpha effect.

Sharpness​

Type
Range
Range
0to1

How sharp the transition should be between full effect and no effect.

Width​

Type
Range
Range
0to1

How wide the Fresnel Alpha effect should be.

Invert​

Type
Toggle

Whether the Fresnel Alpha effect should increase in intensity from the outside-in or the inside-out.

Global Mask​

Type
Dropdown
Options
Off1R1G1B1A2R2G2B2A3R3G3B3A4R4G4B4A

Select which Global Mask to only affect the Fresnel Alpha effect onto.

Angular Alpha​

Type
Toggle

Angular Alpha uses the angle between a specified direction and the object or vertex position to modify the material alpha.

This can be used to create materials that are only visible when looking directly at them, or are invisible when looked at directly.

Angle Type​

Type
Dropdown
Options
Camera Face ModelModel Face CameraFace Each Other

Defines how the angle should be calculated.

Angle Type Options

Camera Face Model​

Camera Face Model will calculate the angle using the forward direction of the camera and the line between the camera and the model. This will map the alpha multiplier from 0 to 1 based on the values of Camera Angle Min and Camera Angle Max.

Model Face Camera​

Model Face Camera will calculate the angle using the defined model Forward Direction and the line between the model position and the camera position. This will map the alpha multiplier from 0 to 1 based on the values of Model Angle Min and Model Angle Max.

Face Each Other​

Face Each Other will calculate the angle using both the forward direction of the camera and the defined model Forward Direction. This will choose the max value of the values from Camera Face Model and Model Face Camera.

Model or Vert Position​

Type
Dropdown
Options
ModelVertex

Choice of which to calculate the Angular Position from.

Model or Vert Position Options

Model​

Model will calculate distance relative to the origin of the object, resulting in the whole object having a uniform alpha change. This is useful for making an entire material change alpha at once.

Vertex​

Vertex will calculate distance relative to the position of each vertex. This means different parts of an object can have different levels of alpha. This is useful for making parts of an object appear or disappear without the whole object being affected.

Forward Direction​

Type
Float3

Defines the vector used for the model Forward Direction. Relative to the model's origin coordinates.

Camera Angle Min​

Type
Range
Range
0to180
Default
45

The angle (in degrees) at which the alpha multiplier should be 0 in the Camera Face Model mode.

Camera Angle Max​

Type
Range
Range
0to180
Default
90

The angle (in degrees) at which the alpha multiplier should be 1 in the Camera Face Model mode.

Model Angle Min​

Type
Range
Range
0to180
Default
45

The angle (in degrees) at which the alpha multiplier should be 0 in the Model Face Camera mode.

Model Angle Max​

Type
Range
Range
0to180
Default
90

The angle (in degrees) at which the alpha multiplier should be 1 in the Model Face Camera mode.

Min Alpha​

Type
Range
Range
0to1

The minimum value of alpha for the Angular Alpha mode. This will prevent the alpha from going below a certain level.

Global Mask​

Type
Dropdown
Options
Off1R1G1B1A2R2G2B2A3R3G3B3A4R4G4B4A

Select which Global Mask to only affect the Angular Alpha effect onto.

Type
Toggle
Shown when

Audio Link is enabled

Enables Audio Link for Alpha Options. The Alpha can be modified based on the audio level in a specific band.

info

The settings in this section will only be visible when Audio Link is activated on the Material.

Add Band​

Type
Dropdown
Options
BassLow MidHigh MidTrebleVolume

Which Band to use for the below Add Range.

Add Range​

Type
Float2

How much to add (or subtract) from alpha. The X value is the alpha added with no volume in the Alpha Add Band, and the Y value is the alpha added with maximum volume.

If audio link is not present in a world, no value will be added. Using this behavior, Alpha Audio Link can be set up in various ways. For example, X can be set to -1 and Y can be set to 0. With this, the alpha will be unmodified in worlds without audio link, but in worlds with audio link, the alpha will have between -1 and 0 added, resulting in invisibility at no audio, ranging to not being modified at all with max audio.

Advanced​

Alpha Premultiply​

Type
Toggle

With Alpha Premultiply enabled, the shader will multiply the base color by the alpha value after all base color operations, but before lighting and emission calculations. This results in a different appearance for transparent materials.

Boost Transparency in Forward Add​

Type
Range
Range
1to100

How much to "boost" the Transparency in the Forward Add of the Alpha.