(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“{ "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” }, }”

Davide Santini, TouchDesigner Introduction to GLSL
Read more quotes from Davide Santini


Share this quote:
Share on Twitter

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 (Learn TouchDesigner) TouchDesigner Introduction to GLSL by Davide Santini
0 ratings, average rating, 0 reviews

Browse By Tag