This package provides a 3D game card effect, similar to holographic cards, with three-dimensional objects visible through a transparent window. It includes stencil shaders with masks to achieve this effect. The package includes:
- StencilMask shader
- StencilObject shader
- StencilSprite shader
- GameCard prefab, ready to use
- game-card-frame frame sprite template
- Rotate C# script for rotation
The package supports all platforms supported by Unity, with a DX9 shader model 2.0.
To use, replace the 3D objects in the card with your desired content and apply the StencilObject shader to the materials. Use the StencilMask shader to control which objects are visible through the card window. You can also design your own card frame and replace the default text with your own content.
If you need help, you can contact the author on Discord.
The package uses stencil shaders with masks to create the 3D game card effect. The StencilMask shader controls which objects are visible through the card window, while the StencilObject shader applies the mask to the 3D objects. The Rotate C# script allows for easy rotation of the card. The package is compatible with all platforms supported by Unity, with a DX9 shader model 2.0.





