Shaders

Shader: SF Energy Flow

This shader creates an energy flow effect, but it's basically a simple noisy fog scrolling effect. This is used for the energy sphere and the portal cable to simulate the energy flow, but you can also use it on bigger objects to create some fog effects. (Make sure to change the Surface Type of the material to transparent to have more realistic fog effects)

Scroll Speed

The “flow” speed of the energy

Noise Scale

The shader uses a simple combination of 2 Gradient noise nodes to create the flow effect. With this property you can define the “noisiness” of the material. A value of 0 means there is no noise at all, which results in just a glowing in the defined color.

1 is maximum noise.

The left example has a noise of 0.15 and the right a noise of 1

Color

HDR Glow color

Strength

Value between 0 and 1. 0 means there is no energy flow and 1 that energy flow is on its maximum.

Note: For the Portal with the energy cube this values are controlled by the energy flow controller

Shader: Portal Distortion

Creates a twirly portal view effect

Twirl Strength

Defines how strong the twirl effect is

Left image has a strength of 1 and the right one a strength of 20

Voronoi Cell Density

Density of the voronoi noise

The previous images for the twirl strength example had a voronoi density of 4. Here is an example of a twirl strength of 20 and a density of 30:

Speed

Rotation speed of the effect

Mask

Simple mask to reduce the visibility of the effect. All black areas of the mask will be invisible

Color

Defines a HDR color of the effect

Dissolve Strength

Dissolves the effect. Value 0 shows the full effect and value 1 nearly dissolves the whole effect

Last updated