The last days I have been studying the Nvidia shader examples. For sure a very nice learning source!
However, there are a couple of questions that i haven’t been able to figure out, hope someone here can help me a little bit(sorry if the questions are too basic!)
1-Some of the examples work almost out of the box. However, i have noticed that on the Nvidia shaders there is no declaration of any transform matrix(world, projection, view, etc). Is there any reason for such a thing? are transformation matrices handled differently?
2-Another important difference I have found is related with the way texture samplers are declared. In vvvv there is always a sampler struct hosting the texture state. However I have noticed that textures on the Nvidia examples are declared with the function(or is it a macro?) DECLARE_QUAD_TEX. Any pointers on this topic?
Thank you for the help!