Edit of asset "Gradient shift shader (palette-cycling-like)" Accepted

Old/Current New/Edit
Title Gradient shift shader (palette-cycling-like) Gradient shift shader (palette-cycling-like)
Description Simple shader that allows for create animations similar to palette cycling. Make a grayscale sprite and a gradient, put a ShaderMaterial on the sprite and assign the gradient and it will animate. See the example project for usage.

Caveats for best effect:
- the base texture should have filter disabled
- number of colors in the gradient and base texture should match
- gray shades in the base texture should be uniformly distributed (i.e. with equal increments between colors)

Check out the repo page for animated example.
Simple shader that allows for create animations similar to palette cycling. Make a grayscale sprite and a gradient, put a ShaderMaterial on the sprite and assign the gradient and it will animate. See the example project for usage.

Caveats for best effect:
- the base texture should have filter disabled
- number of colors in the gradient and base texture should match
- gray shades in the base texture should be uniformly distributed (i.e. with equal increments between colors)

Check here for animated preview:
https://www.reddit.com/r/godot/comments/jer3i1/simple_gradientshifting_shader_that_can_be_used/
Category Shaders Shaders
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/KoBeWi/Godot-Gradient-Shift-Shader https://github.com/KoBeWi/Godot-Gradient-Shift-Shader
Issues Url https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/issues https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/issues
Godot version Godot 3.4 Godot 3.2
Version String 1.0 1.0
Download Commit 648aa823c17377be27da540adcbf97473076b636 7955977240d9fffe1cf9e0236ceefe29ca91ce1d
Download Url (Computed) https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/archive/648aa823c17377be27da540adcbf97473076b636.zip https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/archive/7955977240d9fffe1cf9e0236ceefe29ca91ce1d.zip
Icon Url https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/blob/main/Media/Icon.png?raw=true
https://i.imgur.com/AUyHIbF.png
Preview Insert
Type image
Image/Video URL https://i.imgur.com/8MseHpL.png
Thumbnail