Hi,
this is more a question regarding architecture or how structure I should structure the my system. In a more real production render system, is it common to use multiple samplers states at the same time or is it just the same one thats being used on multiple times.
As its now, I have a Rendeble3D Class that has a Material. Material can have both a Texture Class (ShaderView) and a Shader Class.
As of now i have some different shaders (all of this is test and for my learning) and they can have a multi sampler states bound to them.
So should I structure it so that each Shader Class has one/multiple sampler state or should sampler state be a more global setting in the system. With the second global option it will be hard to specify which sampler state the each shader should be using, not sure if thats a common problem?
All thoughts and feedback or real life examples is much appreciated.