A URP tessellation lit shader for deformable surfaces that displaces geometry using a static heightmap and a runtime-painted splat map for interaction trails.Compatible with Forward, Forward+, Deferred, Deferred+ and SRP rendering paths.HOW IT WORKS: The Interactive Surface system uses an orthographic camera that renders only the particles emitted by the interacting object (for example, the player's footsteps, trail or vehicle tracks).The Interactive Surface material, which uses one of the included Distance Tessellation shaders samples the Render Texture outputted by the camera and uses the information stored in it to dynamically displace the mesh vertices.IMPORTANT: The current version of the system has a limitation: multiple instances of the Interactive Ground prefab cannot be used simultaneously within the same scene without additional setup.A simple workaround is included in the Demo_02 scene. Instead of keeping all Trail Cameras active, only a single Trail Camera should be active at any given time. Improvements are on the way.Compatibility?-------------------------------------------------------------PC - ExcellentConsole - GoodMobile - IncompatibleNintendo Switch - IncompatibleNOTE: SM 4.6 requiredWhat is included?-------------------------------------------------------------1. Three shader variants included:Deferred and Deferred+ rendering path compatible.Forward and Forward+ rendering path compatible.Forward and Forward+ rendering path + SRP compatible.2. Simple character controller included for testing.3. All prefabs ready to use out of the box (Dont forget reading the documentation).Features?-------------------------------------------------------------1. The setup relies on a particle system that emits a red color, which is used as input for the shader's deformation algorithm. As a result, the particle system can be customized extensively to create a wide range of unique deformation effects.2. Two layers of displacement. One static and one dynamic.3. Distance based tessellation.4. GPU instancing.5. Compatible with different rendering paths.Debugging.





