A downloadable asset pack

This shader will create a 3D hovering effect with mouse interaction on a canvas item like TextureRect. Also, it renders a specular highlight that changes with hover.

Shader Properties:

  • Tilt Scale – Amount of tilt on mouse hover
  • Is Specular Light – Enable/disable specular highlight
  • Specular Light Intensity – specular highlight strength
  • Specular Light Power – controls the spread of specular highlight
  • Mouse Pos – This is the mouse position that will be set via GDScript attached to the canvas item.

It is recommended to use a texture with some transparent space at the borders so that the image is not clipped when tilted.

Godot Version: 4.4

Please comment on the features you would like to add. I will update the project accordingly.

Thank you!

Download

Download
3DHover_v1.1.zip 232 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.