Unity logo
取消
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
VFX
着色器
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
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.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2020.3.45f1
兼容
不兼容
不兼容
描述

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

技术细节

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

(暂无评分)
3 users have favourite this asset
(3)
$20
增值税将在结算时计算
许可证类型:Single Entity
一个实体
适用于个人或小型企业。
多个实体
适用于大型企业或多用户。
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
6.4 MB
最新版本
1.0
最新发布日期
2023年5月8日
原始 Unity 版本
2020.3.45
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR