Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


shader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
shader [2015/01/21 19:18] – created splitbrainshader [2018/01/05 21:53] (current) – [Shaders] toby_goodlock
Line 1: Line 1:
 ====== Shaders ====== ====== 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.+Shaders 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. 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 =====
 +
 +{{:screens:shader-segment.png?200 }}
 +The segment shader divides a widget into two parts based on a circle segment. The segment always starts at 0 degrees and ends at the given degree.
 +
 +The [[opacity]] of the widget in and outside the segment can be specified.
  
 ===== Segment Between ===== ===== Segment Between =====
 +
 +{{:screens:shader-segment-between.png?200 }}
 +This shader is very similar to the [[#Segment]] shader above. The only difference is that you may specify the start angle as well.
  
 ===== Radar ===== ===== Radar =====
 +
 +{{:screens:shader-radar.png?200 }}
 +Again similar to the [[#Segment]] shader but will have a "shadow" following the segment creating a Radar effect.
  
 ===== HSV ===== ===== HSV =====
 +
 +The RGB shader let's you modify the color of a widget by specifying Hue, Saturation and Colorvalue adjustments.
  
 ===== RGB ===== ===== RGB =====
shader.txt · Last modified: 2018/01/05 21:53 by toby_goodlock