Draw waveform in game

Hello everyone !

I’d like to know if it is possible to draw a video waveform in game. Or more precisely, to display the game as a video waveform to the player.

I saw other threads about audio waveforms, but that’s not what i’m looking for. I’m interested in the one used for color grading. I tried to look around for code that I could use, but no luck so far. I’m not a programmer yet but a great coding enthusiast !

Anyone could point me to some useful ressources ?

Thanks a lot ! :slight_smile:

/searches

One of these… things?
https://docs.unity3d.com/Manual/PostProcessing-Monitors.html
Waveform
This monitors displays the full range of luma information in the render. The horizontal axis of the graph corresponds to the render (from left to right) and the vertical axis is the luminance. You can think of it as an advanced histogram, with one vertical histogram for each column of your image.

That is apparently in the new post processing stack V2
Haven’t used it yet.
You might be able to steal code from there, it’s on Github.
Note:“This feature is only available on compute-shader enabled platforms.”

Of course !

I’ll look into that, thanks.