Skip to content

Commit

Permalink
Document which layer is which pass
Browse files Browse the repository at this point in the history
Contributes to issue CURA-5040.
  • Loading branch information
Ghostkeeper committed Mar 6, 2018
1 parent eb84e6a commit b179edf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/XRayView/xray_composite.shader
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down Expand Up @@ -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];

Expand Down

0 comments on commit b179edf

Please sign in to comment.