![]() I know you can define the default precision for float, and that this supposedly is used for vectors and matrices afterwards. ![]() I mean, does it need to go this far, if you want it as fast as possible, or is some of it useless? lowp dot(lowp gl_, lowp gl_NormalMatrix * lowp gl_Normal) ![]() I think optimizing this would best answer the question: dot(gl_, gl_NormalMatrix * gl_Normal) Īnd if you take some floats, and create a vector or matrix from them, will that vector or matrix take on the precision of the values you stuff it with, or will those values transform into another precision level? Here's another example: lowp float floaty = 1. ![]() Does the variable that you're stuffing values into dictate what precision you're working with, to the right of the equals sign?įor example, is there any difference, of meaning, to the precision specifier here: gl_FragColor = lowp vec4(1) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |