GetAssetPack

Holographic Card Foil Shader for Godot

Price
$5
Type
Sprites
Creator
Francisco Cidade
Dimensions
2D
Style
Stylized
Genre
Card game
Engine
Godot
Animation
Animated

Trading card foil: rainbow cells, moving sheen, glitter and a metal frame. 2D shader for Godot 4.

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

Holographic Card Foil Shader for Godot

No preview
Francisco Cidade · itch.io$5
2D
Sprites
License not indexed
  • i Check the terms on the original listing.
Show full terms

Trading card foil: rainbow cells, moving sheen, glitter and a metal frame. 2D shader for Godot 4.

View original listing

Description

License: use it in any number of your own projects, commercial or not. Do not resell or redistribute the shader or the example project. Full text in LICENSE.txt inside the download.

Trading card foil for 2D art: shattered rainbow cells, a sheen stripe that follows the tilt, glitter and a metallic frame with rounded corners.

Show full description...

Godot 4.x (GL Compatibility, Mobile and Forward+). A CanvasItem shader: put it on a TextureRect, Sprite2D or ColorRect with a texture. Try it in your browser below, with sliders.

What you get

  • One CanvasItem shader, no textures needed
  • Example project with the original image next to the effect
  • Automatic tilt, or drive tilt from the mouse or a gyro

Parameters

  • auto_tilt: Tilts the card by itself over time. Turn off to set tilt by hand.
  • tilt: Card tilt used when auto_tilt is off (x and y, roughly -1 to 1).
  • foil_strength: How much of the foil shows over the art.
  • cell_scale: Number of foil cells across the image (higher = smaller cells).
  • glitter: Strength of the sparkling dots.
  • corner_radius: Corner radius of the card, in pixels.
  • border: Thickness of the metallic frame, in pixels.

How to use

  • Copy shaders/holo_foil.gdshader into your project.
  • Create a ShaderMaterial on your node and assign the shader.
  • Tweak the parameters in the Inspector, or set them from code with set_shader_parameter.

Feed tilt from the mouse position to make the card react to the cursor. Good for: card games, collectibles, rare item reveals, inventory icons.

The example project opens in Godot 4.6 and shows the original image next to the effect.

More from me

Tags

2DcollectiblefoilGodotgodot-shaderholographicShadersUser Interface (UI)Visual Effects (VFX)

Downloads