diff options
author | Ghostkeeper <rubend@tutanota.com> | 2018-03-06 17:41:14 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2018-03-06 17:53:34 +0300 |
commit | b179edf60e31a57e42c84cf88ce82f84187cd60f (patch) | |
tree | d6b56de4f13733fe6046908ae50ae1e2c2b32f44 /plugins/XRayView | |
parent | eb84e6aa3ef13cfa40fcb81a1b8bbd62994e049b (diff) |
Document which layer is which pass
Contributes to issue CURA-5040.
Diffstat (limited to 'plugins/XRayView')
-rw-r--r-- | plugins/XRayView/xray_composite.shader | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/XRayView/xray_composite.shader b/plugins/XRayView/xray_composite.shader index 82dca52cf9..0a8f6364d7 100644 --- a/plugins/XRayView/xray_composite.shader +++ b/plugins/XRayView/xray_composite.shader @@ -13,9 +13,9 @@ vertex = } fragment = - uniform sampler2D u_layer0; - uniform sampler2D u_layer1; - uniform sampler2D u_layer2; + uniform sampler2D u_layer0; //Default pass. + uniform sampler2D u_layer1; //Selection pass. + uniform sampler2D u_layer2; //X-ray pass. uniform vec2 u_offset[9]; @@ -83,9 +83,9 @@ vertex41core = fragment41core = #version 410 - uniform sampler2D u_layer0; - uniform sampler2D u_layer1; - uniform sampler2D u_layer2; + uniform sampler2D u_layer0; //Default pass. + uniform sampler2D u_layer1; //Selection pass. + uniform sampler2D u_layer2; //X-ray pass. uniform vec2 u_offset[9]; |