SF Stealth

Here you have an overview of the configuration options of this shader

General

Object Size

No need to configure manually, the StealthController script will handle this. This is needed so that we can properly apply the stealth amount to the object.E.g. Stealth of 0.5 means 50% of the object is already in stealth mode.

With the stealth amount you can specify the amount in %. 0.5 means that 50% of your object is already in stealth mode. Unfortunately the Shader does not know the actual object size in the specified stealth activation direction. So we need to calculate it separately and set the proper object size so the shader can calculate the actual part of the object on which the mode needs to be applied.

Stealth Amount

To activate the stealth mode. 0 = no stealth, 1 = full stealth mode

Activation Direction

Specify the direction in x,y and z coordinates from which the stealth effect will start

Stealth Mode

Distortion

Add some distortion effect to the stealth view so change the visibility. In the next image you can see a distortion of 0.25 on the left side and 1 on the right side

Fresnel Activated

Activate or deactivate the fresnel effect

Fresnel Power

Change the intensity of the fresnel power. Higher values will result in much smaller and detailed glow of the corners. On the other side, decreasing the value will result in the whole object glowing.

On the left side of the image you have a fresnel power of 2 and on the right side a fresnel power of 10

Stealth Color

Defines the HDR color of the fresnel glow

Stealth Twirl

This can be used in combination with the distortion effect to add some twirl to the effect.

Stealth Rotation

This can be used in combination with the distortion effect to add a slight rotation over time to increase the stealth experience on runtime.

Noise

Edge thickness

Defines the thickness of the dissolve noise

The thickness in the left image is 0.15 and in the right one 1.

Noise Color

Sets the HDR color of the dissolve noise

Noise Rotation

Adds a rotation to the noise on runtime.

Noise Twirl

Adds a twirl effect to the noise.

Use Texture

If true, the Noise Texture is used as dissolve noise

If false, then a predefined Simple Noise shader node will be responsible for the dissolve noise

Noise Texture

Configures the noise texture, only works if Use Texture is set to true

Simple Noise Scale

Only active when Use Texture is set to false

Configures the simple noise amount

Last updated