18
2020
Shader: Color Cycling
Color Cycling Shader test, because.
Shader Source:
https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Effects/ColorCycle.shader



How it works?
Gray color value is used to pick color from the gradient, if gray texture pixel is 0.5, then you get that turquoise color from gradient texture.

Related Posts
6 Comments + Add Comment
Leave a comment
Recent posts
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
Recent Comments
- on Mesh Exploder (sources)
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












Ooooh… Retro palette shifting could make a comeback!
I tried this but i only get red color even if i change the speed parameter. Don’t know why, but I want to use this shader a lot 🙁
if you assign this shader to default sphere,
with Default-Particle as grayscale texture,
and the gradient png from above, do you get this kind of image?
https://pasteboard.co/Jej6cDe.png
Thanks a lot for this. I actually used it for making some animated backgrounds like in Earthbound and had some pretty good results!
This is working and great! Thank you for making it! I did managed to expend upon this with a mask feature, because I couldn’t found one with a mask. So if anyone wants a masked version of this you can get it here: https://github.com/KarsaiTamas/Unity-Color-Cycle-shader-with-Mask/tree/main
thanks for sharing!