hi,I am a new one starting to learn GLSL.
after reading the turtorials at GLSL Tutorial (it’s really a great turtorial!!)
there is a big question come to me:
During one GL pipeline process,does the execution times of vertex shader equal to fragment shader’s?
what behind this question is my understanding confusion:
as been tought,vertex shader is per vertex and fragment shader is per pixel.but the realism
is,the pixel numbers is not equal(commonly much more than) to vertex numbers.so,their
execution times will be different,do they?
if my understanding is right,then a further question is,how does vertex and pixel shader to keep variables relative?from which vertex’s writing when a pixel shader use one varying variable that been wroten at vertex shader process?
I’m sorry for such a silly question and my poor english.
thanks advanced for any help and inspiration!