Gradient shift shader (palette-cycling-like)

An asset by KoBeWi
The page banner background of a mountain and forest
Gradient shift shader (palette-cycling-like) hero image

Quick Information

0 ratings
Gradient shift shader (palette-cycling-like) icon image
KoBeWi
Gradient shift shader (palette-cycling-like)

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.

Supported Engine Version
4.0
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

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.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Gradient shift shader (palette-cycling-like) icon image
KoBeWi
Gradient shift shader (palette-cycling-like)

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.

Supported Engine Version
4.0
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers