Browsing articles tagged with " gradient"
Aug
10
2020

UI Gradient Slider Bar (no scripts)

Simple UI slider setup for creating gradient slider bar (good for health / fuel bars etc). Uses UI Mask to hide gradient texture based on slider fill. Unity Project:https://github.com/unitycoder/UIGradientSliderBar

Mar
2
2019

Create Gradient Texture From Array of Colors

Small tool to generate gradient Texture2D from array of colors. (Note: maximum colors is 8, since it uses unity Gradient internally ( https://docs.unity3d.com/ScriptReference/Gradient.html ) Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Texture/GradientTextureMaker.cs Example usage script: (attach script to some 3d object)https://gist.github.com/unitycoder/f7ea9019bb67b7042efbd08f0f4fa785

Sep
7
2013

Gradient Bar Range (shader)

Tried to make something like this: http://forum.unity3d.com/threads/199297-Can-t-figure-this-gradient-material-thing-out Its just a shader, which takes top bar and bottom bar world positions and then builds gradient between them.. AssetStore: http://u3d.as/content/mgear/vertical-gradient-range-shader/5q3 Webplayer: http://unitycoder.com/upload/demos/GradientBarRange1/ — Feature requests: – Sprites shader version – Sample code to change the two colors […]

Jul
12
2013

[AssetStore] CreateTexture

Yay! My first asset store script got accepted..:) Had to try it out so maybe later can put something more interesting there. It’s a simple editor plugin for creating plain texture assets (png files). Did it for my own use, because it seems you always […]

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.