Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
VFX
Shaders
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/3
A highly optimized 3D Spectrogram that uses the GPU to draw the effect via shaders. It can be used for frequency analysis with any band normalized float array.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.45f1
Compatible
Not compatible
Not compatible
Description

Features


  • Real-time audio spectrum visualization
  • Customizable grid size
  • Adjustable contrast
  • Configurable outline width and color
  • Option to reverse colors
  • Simple data interface for any float array. (Remember: you must normalize the data into frequency bands across the array)

Requirements


Unity 2019.4 or later


Usage

  1. Import the Spectrogram GPU Shader package into your project.
  2. Create an empty GameObject in your scene and attach an AudioSource component to it.
  3. Create a new Material and set its Shader to Custom/SpectrogramGPU.
  4. Inherit from SpectrumDataProvider, or use the SimpleAudioAnalyzer script to point to your AudioSource.
  5. Add the SpectrogramGPU script to an empty game object.
  6. Point to the SpectrumDataProvider.
  7. Attach a gradient to the script and select a time depth (the number of frames to keep). Be sure to set your material to clamping, repeat will have undesired effects.
  8. Hit play and have fun adjusting values on the script and lighting in your scene!

Support


https://practicalvr.com

https://discord.practicalvr.com for questions/support

Technical details

This shader uses the script to create a generated mesh, then applies a shader that applies coloring via a gradient texture.

3D Spectrogram - Procedural GPU

(not enough ratings)
3 users have favourite this asset
(3)
$20
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
6.4 MB
Latest version
1.0
Latest release date
May 8, 2023
Original Unity version
2020.3.45 or higher
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR