Hi,
I´m trying to create a gradient on a font.
The format of the var_face_color in the vertex shader var_face_color = vec4(face_color.xyz * face_color.w, face_color.w);
is passing the color data to the var_face_color right?
it seams is not filled with the r, g, b, a components
am I wrong?
How can I access to the rgba components of the color to be able to create a gradient?
so I can do that: mix(top_color, bottom_color, position.y)
Now, it will not really work as expected since the font may be laid out on multiple lines in the texture, thus causing var_texcoord0.y to not always go from 0.0 to 1.0