Gradient Shader Pack (v3.0)

0
(0)

This is a pack of over 200 shaders. Each shader outputs a colorful gradient. You can save memory and performance by not having to use a texture! The gradient might be combined with one or two palette textures, and/or a sprite texture, depending on the shader. All material properties can be adjusted in realtime via script or animation clip.

Gradients are re-rendered every frame. They can be animated, re-colored, re-used and can be combined to create more complex backgrounds or fills. Now with sprite shader/UI support, lighting/shadow/PBR support, lightweight and high-definition render pipeline support, and all shaders are editable with Shader Graph.​

What’s New in 3.0

A COMPLETE REWRITE: Version 3 is a complete rewrite of the entire pack from scratch. The old pack, version 2.2, was built for Unity 3.0 using hand-written OpenGL shaders. This was several years ago. Newer Unity technologies, faster mobile devices and new graphics API’s called for a complete rewrite.

MORE SHADERS: The old pack featured 85 shaders, the new pack features over 200.

MODERN TECH: All shaders are based on the Unity Scriptable Rendering Pipeline in order to support modern platforms and Unity features. They will not work without it.

FULLY EDITABLE: All shaders are fully editable in the Unity Shader Graph editor, and are stored as Shader Graphs. All shaders can be modified to add or remove or adjust features.

SPRITE AND UI SUPPORT: A new set of 40 sprite shaders has been added including 20 unlit and 20 lit shaders. The lit shaders are currently experimental. Sprite shaders work as normal Unity sprites and can be also used on Unity UI elements such as buttons. Note that sprite shaders are automatically alpha-blended but UI elements may behave differently. Sprite shaders replace old “textured” versions and are now the main way to combine a texture with a gradient.

CLASSIC GRADIENT TYPES: Standard gradients include a more useable angular gradient, diamond gradient, the vertical gradient now doubles as horizontal (set angle = 90), and radial/circular/ellipse. Existing shaders such as Box4, Box6 and Box9 are included.

NEW NOISE GRADIENTS: Three types of noise shaders have been added – one noise field, 3 noise fields, and 3 fields independently layered. There is also a noise shader which combines with a Box4 to transition between Box4 colors and noise colors.

NEW BLOB GRADIENT: A new meta-ball/blob-based gradient has been added featuring 4 individually controllable blobs of color which combine to produce smoothly curved gradients. These allow you to individually move the location of multiple colored blobs.

MORE BLEND MODES: All shaders except sprite shaders (which are automatically alpha blended) are now available in solid, alpha blended, additive and multiply blend modes. This means the output from the shader can be overlaid on top of the background or other objects (even gradients on top of gradients) as multiple layers. Additive blend is useful for lighting effects, while multiply is useful for shading effects or for “colorizing” parts of the scene.

SUPPORT FOR LIGHTING: PRB versions of the shaders now support lighting and shadows per Unity’s Scriptable Rendering Pipelines. This means the shaders can be more effectively used in 3D environments, or with new 2D lighting. These shaders support light, specular highlights, and shadows. The lit sprite shaders also support normal mapping.

MORE FLEXIBILITY: All shaders can be adjusted. The UV coordinates can be translated, rotated, and scaled which “positions” and scales the gradient effect. Colors can of course be adjusted and any transparency in the color will mix with any transparent from a texture (if any). Palettes can be animated by adjusting their horizontal or vertical offset within the palette texture. 2D palette textures are also now supported to allow another dimension of animation. UV coordinates can also be reversed in the material properties instead of a separate shader.

BETTER PLATFORM SUPPORT: Since the new shaders are built with Shader Graph, Unity can automatically build optimized shaders for multiple platforms and graphics APIs. They can work with various rendering pipelines. The shaders are still performant on mobile devices, especially since modern mobile devices have better hardware, but also via the Lightweight/Universal Render Pipeline. Most shaders are cheap but blob/noise are more expensive.

SMOOTHER SKY PALETTES: A set of 40 “sky palette” palette textures are included based on samples from real photos of skies. These have been smoothed to remove banding and produce very smooth gradients for instant sky gradients.

NEW EXAMPLES: Includes 6 new example scenes. Hit play to see animation on some of them.

Original_Link: https://forum.unity.com/threads/new-gradient-shader-pack-realtime-animatable-gradient-shaders.772610/

Download Links:

Asset Version (v3.0)

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave a Reply