Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


shader

This is an old revision of the document!


Shaders

Schaders modify the “normal” look of a widget eg. by only showing a certain part of it or changing the color. Different widgets have different shaders available.

To add a shader simply select the shader property and pick the shader you want to use. Currently only one shader per widget can be used.

Segment

Segment Between

Radar

HSV

RGB

The RGB shader let's you modify the Red/Green/Blue channels of the widget. Each channel accepts a value between -100 and 100.

Using a -100 disables that channel completely. Eg. a red shape (#ff0000) would be black when the red channel is adjusted to -100. Whereas a black shape (#000000) would turn red when the red channel is adjusted to 100.

Each channel accepts a complex expression as well which allows you to dynamically adjust colors based on tags.

shader.1421867893.txt.gz · Last modified: 2015/01/21 19:18 by splitbrain