From bbe79c2fd6d87d6327b11876bc46ec9231868855 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 18 Feb 2023 14:55:40 -0500 Subject: Add comments to fill fragment shader. --- chickadee/graphics/path.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chickadee/graphics/path.scm b/chickadee/graphics/path.scm index fac8c2c..9fb859d 100644 --- a/chickadee/graphics/path.scm +++ b/chickadee/graphics/path.scm @@ -1327,11 +1327,11 @@ (outputs (frag-color (case mode - ((0) + ((0) ; solid color color) - ((1) + ((1) ; linear gradient (gradient-mix (-> frag-position x))) - ((2) + ((2) ; radial gradient (let ((p (* frag-position (vec2 1.0 radial-gradient-ratio)))) (gradient-mix (length p)))) -- cgit v1.2.3