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 node with shader should have texture_filter set to Nearest
- 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 node with shader should have texture_filter set to Nearest
- 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.
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 4.0 Godot 4.0
Version String 1.1 1.1
Download Commit 36dc83212249dfe77ecb0664d3b013a91adeaccf 36dc83212249dfe77ecb0664d3b013a91adeaccf
Download Url (Computed) https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/archive/36dc83212249dfe77ecb0664d3b013a91adeaccf.zip https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/archive/36dc83212249dfe77ecb0664d3b013a91adeaccf.zip
Icon Url https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/blob/main/Media/Icon.png?raw=true
https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/blob/main/Media/Icon.png?raw=true
Preview Insert
Type image
Image/Video URL https://github.com/KoBeWi/Godot-Gradient-Shift-Shader/blob/main/Media/Screenshot1.png?raw=1
Thumbnail