Re: Picture of Warp3D Running Natively on AmigaOne
Poster: mikeymike Date: 2003/11/11 17:47:12
What do pixel shaders actually do?
Simply put you have vertex and pixel shaders.
[edit] Damn Roge whipped me to it! :-)[/edit]
both are "programs" which are executed for every vertex or pixel fragment that is processed by the card.
for instance your vertex shade would take in the vertex x,y,z colour etc of the vertex. And a transformation matrix. The code in the vertex shader would then apply the matrix to the vert, and write out the result to specified registers/vars.
Similar thing for pixel shaders, but you get texels from textures and so on instead of x,y,z... values.
This gives programmers freedom (within reason) to do stuff as they want compared to the old fixed function type pipelines.
I hope that made sense, if so Yay! for me! :-D