This asset supports the Built-in (Standard) Rendering Pipeline and the Universal Rendering Pipeline (URP / LWRP).
Colr is the set of shaders designed to make coloring of objects quick and easy. Colr helps you achieve stylish and consistent look for your game by letting you select colors of material sides directly, bypassing lighting.
Colr features:
• Color everything: apply directional (per-side) GRADIENTS and/or SOLID colors to objects; fill skybox with gradient
• Uses no lighting, thus performs fast and has a clean look.
• Mobile friendly
• Can use diffuse texture maps if needed, but does not require them in any way. • Adjustable. A variety of handy parameters provided for you to tweak
• Easy to use. Can be used on any object, just assign the shader to a material
• Includes three different demo scenes with lots of presets and models
Note:
Since Unity 5.5.0 it is not possible to detect lightmaps in shader code. If using lightmaps (which we totally recommend), please turn them on in the COLR material properties.
Update 1.5:
- It is now possible to apply textures to objects.
Update 1.7:
- It is now possible to have gradients of arbitrary angle, not only vertical ones! The feature has been added to both world and local variants of shaders.
For extended capabilities, check out the Marvelous Techniques asset, which inspired Colr.
Check out our complete project - Flight Kit which includes Colr and a demo game.
该资产支持内置(标准)渲染管道和通用渲染管道(URP/LWRP)。
Colr 是一套着色器,旨在快速、轻松地为物体着色。Colr 可让您绕过光照直接选择材质边的颜色,从而帮助您在游戏中实现时尚、一致的外观。
Colr 的特点
- 为一切物体着色:为物体应用定向(每侧)渐变色和/或纯色;用渐变色填充天空盒
- 不使用光照,因此运行速度快,外观简洁。
- 移动友好
- 可根据需要使用漫反射纹理贴图,但无需使用。- 可调节。提供各种方便的参数供你调整
- 易于使用。可用于任何对象,只需将着色器分配给材质即可
- 包含三个不同的演示场景,其中有大量预设和模型
注意
自 Unity 5.5.0 起,无法在着色器代码中检测光贴图。如果使用光贴图(我们完全推荐),请在 COLR 材质属性中将其打开。
更新 1.5:
- 现在可以为对象应用纹理。
更新 1.7:
- 现在可以使用任意角度的渐变,而不仅仅是垂直渐变!该功能已添加到着色器的世界和本地变体中。
有关扩展功能,请查看激发 Colr 的 Marvelous Techniques 资产。
请查看我们的完整项目 - Flight Kit,其中包括 Colr 和一个演示游戏。
|