I got the idea for this some time last week, I think. Pretty good, but it doesn’t yet work on everything, such as ShaderMaterials.
I got the idea for this some time last week, I think. Pretty good, but it doesn’t yet work on everything, such as ShaderMaterials.
Fun effect. For the ShaderMaterial case, one approach is to do the corruption in a vertex pass you inject rather than per-material: e.g. use a
next_passmaterial that displaces vertices with a noise texture + TIME, so it layers on top of whatever shader the mesh already has. Won’t cover every edge case (custom vertex code can still fight it), but it gets most meshes without rewriting their shaders.