Varying vs Alternating - What's the difference?
varying | alternating | Related terms |
A kind of variable, used by a fragment shader, that interpolates values across a primitive, so as to produce gradient effects etc.
* 2012 , Patrick Cozzi, Christophe Riccio, OpenGL Insights
that alternates
(mathematics, of a knot) Having a planar diagram whose crossings alternate between "over" and "under" as one travels along the knot.
(mathematics, of a series) Having terms that alternate between positive and negative.
Varying is a related term of alternating.
As verbs the difference between varying and alternating
is that varying is while alternating is .As a noun varying
is a kind of variable, used by a fragment shader, that interpolates values across a primitive, so as to produce gradient effects etc.As an adjective alternating is
that alternates.varying
English
Verb
(head)Noun
(en noun)- Another consideration to the relationship between vertex and fragment shaders is that adding too many additional varyings can be a drag on performance since they must all be interpolated