lethep / Post-Processing-Scan

A 3D scan/sonar-like post-processing effect for Unity. Essentially a visualization of a spherical signed distance field (SDF).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Post-Processing Scan

A 3D scan/sonar-like post-processing effect. Essentially a visualization of a spherical signed distance field (SDF) rendered using the scene's depth and colour buffers. Multiple scans are supported without image-effects, and one that works with image effects (other post-processing effects). If you're using URP, you get the best of both worlds and can have multiple scans with post-processing.

Viking.URP.mp4
World.Space.Pulse.Sonar.Short.mp4
2022-01-05.08-17-41.mp4
Pulse.GitHub.Preview.mp4

Compatibility

  • Built-in pipeline + URP.
  • Tested with Unity 2019.4 (LTS).
  • Can be edited using Amplify Shader Editor.

Installation

You'll find everything under Mirza Beig/Post-Processing Scan/...

Usage

Built-In

Multiple Scans

  1. Attach CustomPostProcessing to your camera, and assign one of the included Post-Processing Scan materials (or make your own).

image

  1. Attach PostProcessingScanOrigin to any object whose position you want to track as the scan origin. Assign the scan material.

image

Single Scan

Use Unity's Post-Processing Stack v2 and simply add the effect.

image

URP

Instead of attaching a script to the camera, add CustomRenderPassFeature to your URP pipeline asset renderer and assign the material there.

image image

Social Media

License

Unlicense (do whatever you want with this)...

Support/Donate...

This is a FREE asset. However, if you'd like, you can support me via one of the sponsor links on the side.

Every bit is appreciated!

Patrons (Thank You!)

  • Adam Mulvey

About

A 3D scan/sonar-like post-processing effect for Unity. Essentially a visualization of a spherical signed distance field (SDF).

License:The Unlicense


Languages

Language:ShaderLab 81.1%Language:C# 18.9%