3D Game Card

FREE
Publisher BadToxic (Michael Grönert)
File size 90.73kB
Number of files 22
Latest version 1
Latest release date 2021-01-27 08:55:27
First release date 2019-07-01 01:17:14
Supported Unity versions 2018.4.2 or higher
A game card with a 3D effect like holographic cards have. It has three-dimensional objects behind that you only can see through the card's window. It uses stencil shaders with masks to accomplish this.

— Content —

- StencilMask shader
- StencilObject shader
- StencilSprite shader
- GameCard prefab, ready to use
- game-card-frame frame sprite template
- Rotate C# script for rotation

— Requirements —

Shader: Works on all platforms supported by Unity. DX9 shader model 2.0.

— Usage —

Replace the 3D objects in the card with whatever you want and use the StencilObject shader for the materials. The objects will only be visible through the card window using the StencilMask shader.
Use different ids in the _StencilMask shader variable if you want to have multiple object-mask pairs. (Objects only visible through the correct window.)
Design the card frame as you want and replace the texts for your needs.

— Support —

Need help? Contact me on Discord.

— Follow me —

Discord
Instagram
Twitter
Facebook
YouTube

Top Publisher Assets