Clean up code; adding comments

This commit is contained in:
Caesar2011
2016-09-14 18:18:01 +02:00
parent 449060a463
commit 9cb2b0f8e8
4 changed files with 105 additions and 72 deletions

View File

@@ -11,6 +11,9 @@ uniform sampler2D trimap;
uniform sampler2D foreground;
uniform sampler2D background;
// Relative width/height of a pixel
uniform float pixWidth;
uniform float pixHeight;
int IS_BACKGROUND = 0;
int IS_UNDEFINED = 1;