Dear all,
I want to get each vertex's color combing with the vertex color itself, the texture color, the fog color, the light color.....
As we knew, in the PS, we just find the fragment. We can not tell which fragment is the source vertex of the model. So, One way for this problem is to distincting each vertex's and other interpolating pixels in the PS and get the final color of each vertex. But how to do it???
Another method maybe to bring all the texture operation and fog.. blending into the VS. Is it feasible?
Could anyone help me to solve this porblem? Thanks a lot!!!
I want to get each vertex's color combing with the vertex color itself, the texture color, the fog color, the light color.....
As we knew, in the PS, we just find the fragment. We can not tell which fragment is the source vertex of the model. So, One way for this problem is to distincting each vertex's and other interpolating pixels in the PS and get the final color of each vertex. But how to do it???
Another method maybe to bring all the texture operation and fog.. blending into the VS. Is it feasible?
Could anyone help me to solve this porblem? Thanks a lot!!!