Skip to content

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

License

Notifications You must be signed in to change notification settings

MirzaBeig/Post-Processing-Scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Post-Processing Scan

Unity Version Unity Pipeline Support (Built-In) Unity Pipeline Support (URP) Unity Pipeline Support (HDRP)

GitHub followers Twitter Follow YouTube Channel Views YouTube Channel Subscribers

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.

Note: For single-pulse scans, please switch to the 'urp' branch, which has an experimental system for just that.

Stars Forks GitHub watchers GitHub repo size GitHub code size in bytes

Preview

Single.Scans.URP.mp4
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).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published