diff options
Diffstat (limited to 'examples/shaders/rect.frag')
-rw-r--r-- | examples/shaders/rect.frag | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/shaders/rect.frag b/examples/shaders/rect.frag index 33bfbb2..9cee53b 100644 --- a/examples/shaders/rect.frag +++ b/examples/shaders/rect.frag @@ -1,3 +1,6 @@ +// Copyright 2019-2020 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + /* The fragment shader uses the UV coordinates to calculate whether it is in the T, R, B, or L border. These are then mixed with the border color, and their inverse is mixed with the fill color, to calculate the fragment color. |