Hivemind
  • 🔍Start Here
  • 💻Code Systems
    • 🐎Ultimate Horse System
      • Documentation
      • Integration Guide
    • 🚀Ultimate Spaceship System (USS) Knowledge Base
      • 📖USS Documentation
      • 🧩USS Integration Guide
    • 🚂Ultimate Train System
      • Dokumentation
      • Integration Guide
    • ⚔️Modular Character System
      • Documentation
      • Trailer
    • ⚒️Ultimate Building System Framework (UBS)
      • 🔍Introduction
      • Installation
        • Example Content Setup
      • Developer Settings
        • Initial Setup
        • Collision Channels
      • Quick Start
      • Ultimate Building System Component (UBS)
      • Buildable Definition
      • Buildable
        • Actions
        • Tag Qualifier Conditions
        • Dependencies
      • Proxy Behaviour
        • Trace Behaviour
        • Proxy Location Offset
        • Placement Conditions
        • Post Build Events
      • Using your own Meshes
      • Global Function References
  • ✨VFX
    • 🩸Realistic Blood VFX
      • Documentation
      • Video Tutorial
    • 🩸Stylized Blood VFX
      • Documentation
    • 💥Realistic Gun Effects
      • Documentation
    • ☁️Smoke & Fog VFX Knowledge Base
      • 📖Smoke & Fog Documentation
      • 📸Video Tutorials
  • 🏡Environments
    • 🌃 Cyberpunk City
      • Level Instance
      • Tech Tools
    • 🏰Modular Castle & Dungeon
      • Documentation
      • Trailer
    • 🏘️Modular Rural Town
      • Documentation
      • Trailer
Powered by GitBook
On this page
  • Smokes
  • Niagara Controls
  • Material Controls
  • Optimization
  • Texture Size
  • Cutout (Implemented For You By Default)
  • Smokes Plumes
  • Setting up the Smoke Plumes
  • Fog Cards
  • Animated
  • Static
  • Setting up the Fog Cards
  • Optimizing the Fog Cards
  • Light Issues
  • Support
  1. VFX
  2. Smoke & Fog VFX Knowledge Base

Smoke & Fog Documentation

PreviousSmoke & Fog VFX Knowledge BaseNextVideo Tutorials

Last updated 29 days ago

Smoke Pack Documentation

Smokes

Niagara Controls

Below We Explain The Exposed parameters that you could use to modify the Particles behavior easily:


1) Color: Uses a Color Curve which enables you to tint with gradient driven by the age of the particle.

2) Lifetime: Controls how long or quick the duration of the particle. A greater range of min max parameter could reduce the pattern repetitiveness. MaxLifetime MinLifetime

3) Scale: Controls the size in a random range. Utilize the scale randomization to break the shape. MaxScaleSprite MinScaleSprite 4) SpawnRadius: Controls the spawn initial location in a radius metrics.

5) SpawnRate: Controls the spawn rate of the particle per every second.


Material Controls

Parameters on the material instances are also available for the smoke shading flexibility. Control necessary shading controls such as alpha exponent, exposure, values and colors using the following:


1) AlphaPower: Controls the opacity exponent. Use it whether to increasing the negative spaces on your texture or increasing the overall density.

Above: AlphaPower: 1.0 - Below: AlphaPower: 5.0

2) ColorPower: Controls the color exponent of the blending of Color1 and Color2

Above: ColorPower: 5.0 - Below: ColorPower: 1.0

3) DepthFade: is used to hide unsightly seams that take place when translucent objects intersect with opaque ones.

Exposure: Controls the overall texture brightness

4) MotionVector_Intensity: Controls the motion vector distortion intensity. As much as possible leave the default value, to avoid any weird artifacts.

5) NormalFlatness: Controls the normal intensity

Above: NormalFlatness: 1.2 - Below: NormalFlatness: 5.0


Optimization

Texture Size

Textures included in the EnvironmentSmokes folder are native 4k which in fact could be expensive for realtime vfx for games. But could be very useful for cinematics to maximize the quality.

In order to change the texture Max In-Game so to make it game ready.

Go in texture details, search for Maximum Texture Size. It defaults to 0. You can set it to 512 or 1024 (Make sure it is power of 2) depending on your needs.

Cutout (Implemented For You By Default)

It is always better to use polygon rather than overdraw by default.

Above: Uses a spherical cut out, which remove the excess overdraw from the edges. Below: Default overdraw of a translucent particle regardless of the visual.

The Smoke Pack comes with the cutout feature already. In case you have to modify it further you can access it in SpriteRenderer -> Cutout.

Smokes Plumes

Setting up the Smoke Plumes

Firstly, find the BP_PlumeSmokeSpline_01

The parameters for the blueprint are the same ones that we covered above, utilize them to modify the look and feel of your smoke plumes. Once you drag the blueprint, there is already a default template provided.

A particle that follows the spline position starting from the bottom to top. You can add additional spline points by right clicking the spline gizmos to add more spline points.

There are also various templates provided. All you have to do is to copy the parameters from the Niagara systems (Pictured Below) into the Blueprint. Utilize the entire smoke library and parameters covered above to create a vast array of variations.

Fog Cards

The package contains two fog card versions:

Animated

A spritesheet based effect that loops infinitely. Great to use to add movement to your scene.

Static

A single image texture that should be used for environmental effects. Use these to optimize performance and when movement is too hard to perceive (For example distant mountain fog)


Setting up the Fog Cards

Simply drag and drop the NS_Fogcard (Pictured Above)

And you’ll get the following as the default effect:

In order to modify the Niagara System to create a variation. Modify the provided parameters (Pictured below) To achieve your desired result.

AnimationSpeed: The effect has a given motion vector map, so you could use slow motion to the effect with less artifacts. AnimationSpeed is being used to retime your sprite sheet.

Changing the Fog Material

FogMaterial: Simply click the dropdown button (Pictured below) and select one of the materials to change the look and feel of your fog cards.

NS_Fogcard also can be used with the static version of the fog cards.

IsCameraFacing: Enable this if you want to make the effect face the camera at all times. Some of the effects specifically those rectangular in shape will look weird in camera facing mode. In these cases you can disable it.

Opacity: General alpha opacity of the texture

Power:

  • Lower Power: Creates a denser, more opaque fog. The negative spaces (like gaps between objects) become more pronounced, as if the fog is "eating away" at the edges.

  • Higher Power: Creates a lighter, less dense fog. The negative spaces are less pronounced, and the fog appears more subtle.

Think of it as a knob to adjust the "fogginess" level

Above: Power: 1.0 - Below: Power: 3.0

ScaleXY: The main scale control for the effect. Adjust it to scale the fog cards to fit your needs.

SpriteRotation: Controls the rotation of the effect

Optimizing the Fog Cards

The fog cards are created to be a single spawn effect. In this case we don’t have to worry about the overdraw stacking. However when you populate the scene with many fog cards we recommend to reduce the empty spaces left by the textures using cutouts:

With Cutout

Without Cutout

Since we're using a single "NS_Fogcard" for all our fog variations, they all share the same cutout texture. This can lead to some variations clipping into the cutout shape.

To fix this, simply duplicate the NS_Fogcard and assign the cutout texture that best fits the specific variation you're working with. This way, each variation will have its own customized cutout, preventing clipping issues.

Light Issues

You might notice some unusual shading with your fog, especially when disabling the camera-facing feature of the sprite. This can be caused by the fog material's default lighting mode, "Volumetric Directional".

This mode calculates lighting based on directionality and takes the material's normal into account, which can improve shading but also lead to unexpected results in certain lighting setups.

To fix this, you can simply switch the fog material's lighting mode to "Volumetric NonDirectional".

This is a simpler, cheaper alternative that doesn't take the material's normal into account, which can help to resolve any odd shading issues you're experiencing.

Example of a lighting issue looks is pictured below

Support

NS_Fogcard
Default Result After Dragged
Fog Card Parameters
Choose any of the templates above to modify your fog cards.
Power: 1.0
Power: 3.0
Tick the "Use Material Cutout Texture Box To Enable The Cutout Feature.
Shading Issue Using Volumetric Directional
Shading Issue Fixed Using Volumetric NonDirectional

Need Extra Support? Join Our And Open A Ticket.

✨
☁️
📖
Discord
Red Marker: RGB Color Input Blue Marker: A Opacity Input
AlphaPower: 1.0
AlphaPower: 5.0
ColorPower: 5.0
ColorPower: 1.0
NormalFlatness: 1.2
NormalFlatness: 5.0
Changing Maximum Texture Size For Optimization
Spherical cut out
No cut out
Sprite Renderer
Cutout
Smoke Plumes
Default Template
Smoke Plume Templates
Texture sample - T_FogCards_01_RA
Animated Fog Cards