“{ "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 (101956)
- life (80386)
- inspirational (76807)
- humor (44840)
- philosophy (31455)
- inspirational-quotes (28594)
- god (27031)
- truth (24924)
- wisdom (24802)
- romance (24649)
- poetry (23690)
- life-lessons (22724)
- quotes (21282)
- death (20766)
- happiness (18984)
- hope (18778)
- faith (18582)
- inspiration (17984)
- spirituality (15976)
- motivational (15957)
- relationships (15812)
- religion (15517)
- life-quotes (15173)
- writing (15075)
- love-quotes (14831)
- success (14165)
- motivation (14007)
- time (12936)
- science (12228)
- motivational-quotes (12101)
