Just started looking into it, but I was wondering if anyone could quickly point me in the right direction?
Maybe something like this, with the ability to adjust the intensity and darkness through code?
Okay, off to search on my own…
Just started looking into it, but I was wondering if anyone could quickly point me in the right direction?
Maybe something like this, with the ability to adjust the intensity and darkness through code?
Okay, off to search on my own…
This may be difficult to understand if you don’t have a good understanding of shaders, but you’ll need a specialized shader to get a good “screen static” effect.
So basically I see 3 layered textures here:
The noise texture will just be a simple texture with the static pattern. Simply set the UV offsets for this texture to random numbers every frame.
The shadow texture is simple and can be displayed as-is, you could also have a float property in your shader that can darken the edges more by scaling the alpha values up and capping them at 1.
The scan-line texture probably isn’t necessary. If you do use it, I would either have it scroll vertically or stay mostly still. If you scroll them, you might even go farther and make it jump from time to time by changing a float shader property that modifies the UVs through a script (the jump would simulate a screen flicker).
there was a built in one it is in the Unity standard assets image effects