cat ~/projects/buy-effect.shader
Buy effect
A purchase effect that adapts to any community-uploaded object or avatar, whatever its materials.

A purchase effect that plays on any item or avatar a user buys, without touching the original object.
Problem
The community can upload any avatar or object, each with its own custom shaders and materials. The effect had to work on all of them and run on a copy, never destroying or modifying the original.
Approach
The effect duplicates the target and builds itself procedurally around that copy, adapting to each object’s shape and materials instead of relying on hand-made versions per item.
Here it is applied to different kinds of objects:
VR constraints
Because the input is unpredictable user-generated content, the effect has to stay robust and affordable on objects of very different complexity, so it can play in a crowded VR scene without hurting performance.
// migrated from the old wordpress portfolio

