“{ "myRectShape": { "prefix": "myRectShape", "body": [ "float ${NAME}(float cx, float cy, float sx, float sy){", "\tfloat myRectX = step(cx - sx / 2.0, vUV.s) - step(cx + sx / 2.0, vUV.s);", "\tfloat myRectY = step(cy - sy / 2.0, vUV.t) - step(cy + sy / 2.0, vUV.t);", "\treturn myRectX * myRectY;", “}” ], “description”: “Draw a rectangle from its center position cx and cy, and size sx and sy” }, }”
―
TouchDesigner Introduction to GLSL
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
TouchDesigner Introduction to GLSL
by
Davide Santini0 ratings, average rating, 0 reviews
Open Preview
Browse By Tag
- love (101754)
- life (80335)
- inspirational (76793)
- humor (44592)
- philosophy (31414)
- inspirational-quotes (29060)
- god (27016)
- truth (24926)
- wisdom (24881)
- romance (24545)
- poetry (23576)
- life-lessons (22795)
- quotes (21212)
- death (20692)
- happiness (19030)
- hope (18721)
- faith (18558)
- inspiration (17811)
- spirituality (15882)
- relationships (15791)
- motivational (15775)
- religion (15487)
- life-quotes (15446)
- writing (15023)
- love-quotes (14965)
- success (14212)
- motivation (13735)
- time (12944)
- motivational-quotes (12232)
- science (12197)
