Game Engine and Assets Leaks

[UE4] Radial Scan FX

Submitted by canread, , Thread ID: 203979

Thread Closed
19-04-2021, 05:03 PM
#1
[Image: Gallery-UniqueObjectScanning-1920x1080-a...fc4974.png]

Video Showcase


What is it?
Radial Scan FX is a highly customizable scanning ring shader, prepped and ready for easy integration into your game. With a few tweaks, you can create an entire game mechanic using just the shader.

The scan effect is projected onto the world using deferred decals, meaning you can layer many Radial Scans on top of each other at once without impacting performance.


How do I spawn it?
Much like a particle effect, you can attach the BP_RadialScanComponent to any actor and fire the Spawn Radial Scan Effect function to begin the scan. Alternatively, you can drop in a BP_RadialScanActor and fire the Begin Radial Scan function. Be aware that the actor will die upon completion.


How do I customize it?
To customize the way it spawns, moves and dies: Adjust the settings on the scan component

To customize the look of the scan effect: Adjust the material instance settings. The best way to learn the material is to drag the material instance into the level, this will create a decal. Scale it up to cover a large area, then adjust the Distance parameter to preview the scan effect at different distances. Change the parameters to see what they do. You can think of each "Layer" as a separate ring with it's own settings, one layer could show the edge of the effect, while another layer creates the highlighted object effect.


How do I make it project on everything?
Make sure that Receives Decals is enabled on every mesh you want the effect to cast on.


How do I preview the examples?
Find the character pawn in the level, inside it's components list you'll find the BP_RadialScanComponent, click on that and swap out the material used, feel free to play around with the other settings to get an understanding of them.


I can't see the highlights, help!
Make sure to set custom depth stencil settings to Enabled with Stencil, make sure the mesh you want highlighted has custom depth enabled in rendering settings and it's stencil value matches the stencil value in the radial scan material instance. Remember, not all radial scans examples use the highlight effect, only examples 2 and 3.


Features:

Forest example map
5 Radial Scan FX examples
Many material functions
Tool-tipped and ordered material settings
Static switches to enable advanced effects
Color gradients & gradient atlases
Texture projection settings
Directional scanning projection
Sobel outline effects
Stencil mask settings
Up to 4 layers of Radial FX in the master shader (can be expanded for more)
VR Compatible
Forward Rendering Supported (4.26+)

Number of Maps: 1
Number of Textures: 25
Number of Materials: 20
Number of Material Functions: 13
Number of Blueprints: 4
Number of Meshes: 7
Supported Platforms: Desktop, VR

Important/Additional Notes:

Works on mobile with Mobile HDR enabled. However, the sobel effect is not supported.
The forest assets originate from Soul: Cave by Epic Games but the materials and textures have been tweaked to look their best in the forest setting.
If you have bad performance in the example map, edit the level blueprint and remove the volumetric setting adjustment or disable volumetric lighting entirely, additionally, you can disable tessellation on the landscape material.




Users browsing this thread: 3 Guest(s)