Parallax depth on a 3D card: 8 artboards, one shader
Follow-up to the 3D card. The card face used to be one artboard painted onto a surface in 3D. It's now 8 artboards, each assigned in the inspector with its own depth number, and the shader does the rest.
The idea is one sentence: the frame is a window. A layer behind it slides against the tilt, and the deeper it sits the more it slides. A layer in front slides the other way. The frame itself never moves.
Depths I landed on: sky 30, trees 18, snow back 12, character 6, snow front 2, frame 0, branch -8. Behind is positive, in front is negative.
One thing worth knowing before you build it: layers behind the window have to be bigger than the card, or the picture runs out at the edge on a hard tilt. Rule of thumb, extra picture per side in percent of the card is about a third of the depth number. Sky at 30 becomes 130%.
Two of the layers aren't images. Each snow artboard runs a small Node Script that draws flakes and keeps them falling. That's the part I like most here: a layer is an artboard, and an artboard can be alive. Snow today, rain tomorrow, same card.
The frame artboard carries real Rive text bound to a ViewModel, so the name, ability and stats change at runtime while the card turns.
Written version with the template file and the prompts: https://www.rivemasterclass.com/blog/rive-parallax-card
Walkthrough: https://youtu.be/ZTUl7tcHwOU
Curious how others handle the edge reveal, and what you'd put in the front layer.