A downloadable effect

The effect uses the same technique as simple decals for projecting onto the already rendered scene. It computes a procedural 3D texture similar to Worley noise at the start of the scene in a compute shader, which it then uses to render the effect in real-time. The procedural texture stores in the alpha channel the distance to the plane between the two feature points nearest to that point in the texture. And in the RGB channels it stores the direction from the nearest feature point to the second nearest feature point. The shader then uses these pieces of information to draw cracks and scroll a distortion over the surface to make it feel more alive and energetic.

Download

Download
Procedural Cracked Ground Effect Asset Pack 7 kB
Download
Cracked Ground Effect Demo Scene 15 MB

Install instructions

To use the effect in your own project:
Add the PowerCrackRenderFeature from the Scripts folder.
Add a layer for the Power Crack Volume prefabs and set the layer value in the render feature.
Select the Power Crack Material in the render feature Override Material field.
And, select the PowerCrackCompute shader in the render feature Compute Shader field.

Leave a comment

Log in with itch.io to leave a comment.