Energy Shield
This asset provides an energy shield that can be easily integrated into your scenes. You can use either the shield_plane.tscn or shield_sphere.tscn directly, or apply the shader to other materials. Note that some adjustments may be needed to ensure proper functionality on meshes other than planes and spheres.
Interactable
You can use the shield.gd script to add mouse click interactions or modify it to suit your specific needs. The following interactions are available:
Impact: Impacts can be dynamically added, with up to five active at a time, by adjusting the shader’s uniform variables. Each impact generates a wave that propagates across the shield from a specified position. The wave’s intensity and speed can be customized to your preference.
Generate/Collapse: The energy shield can be animated to collapse or regenerate from specified positions. Both the animation and the highlight effects are fully adjustable.
Intersection Highlight: Leveraging the depth texture, the material detects and highlights nearby objects or intersections with other objects.
Customizations
You can customize parameters such as color, wave height, frequency, and color quantization to match your game’s style. All shader parameters are thoroughly documented — refer to the example scene for demonstrations.
Live Web Demo:
https://nojoule.itch.io/energy-shield
Changelog for version v1.1.0
No changelog provided for this version.
Reviews (1)
This is a very useful shader with plenty of customization options. The examples were very helpful for figuring out how to adjust the scripts to suit the needs of my project. Nice work!
Login to write a review.