Hi guys,
developers love to give the user the freedom they want, but sometimes, too much freedom is quite bad, as some things are just too complicated, or just not practical, or might mess stuff up if done wrong.
One example of this was where I had to decide whether to use fixed functions for normal mapping, or leave that to the user to do while editing their custom material. But normal mapping isn't just something that's done within a seconds (copy... paste... ), so I decided to make it fixed, like: (And it's used so much, and if you mess it up, features like, ssao, lighting, just doesn't work!)
// Enable Normal Mapping
myMaterial->SetFlag(MAT_FLAG_NORMALS);
// Set the texture
myMaterial->SetNormalMap(myTexture);
So...
Is leaving the normal mapping to a fixed function the way to go, or not? What experiences do you have where you needed to decide whether making a feature fixed, or leave it to the user?
Thanks!
PS. I don't know if this is too specific, if so, please say!