PulseGlow shader

Add to wishlistAdded to wishlistRemoved from wishlist 2
Add to compare
@ Godot Asset Library

Pulsating light shader for round objects.

Submitted by user fbcosentino;
MIT;
2019-12-05

Free!

SKU: GDAL449 Categories: , , ,

Pulsating light shader for round objects.

This shader is based on the dot product between the face normal and the camera view vector, so it works best on smooth round surfaces with many triangles, ideally spheres.

The shader has the following parameters:

Albedo: base object color. Albedo’s alpha channel works, but avoid using it for transparency. It is implemented to support alhpa in textures. For global transparency, use the Opacity parameter instead.

Albedo Texture: texture for albedo. Alpha channel works.

Saturation: higher values increase the flat color area in the center, with fast alpha slope on edges. Lower values cause blurred, softer gradients in the edges.

Pulse Rate: how many times the light pulses per second.

Pulse Intensity: how big the light becomes during pulses, relative to original object size. Pulses are created by moving the vertices along the triangles’ normals during rendering. If applied to collideable objects, the collision shapes are unnafected.

Opacity: alpha. Use this in animations to make objects fade in or out.

May work with GLES2 but not tested.

10% OF REVENUE IS DONATED TO GODOT

Godot Assets Marketplace
Logo
Compare items
  • Total (0)
Compare
Shopping cart