Hi,

what is the better option, to compile and link various shaders for various tasks/objects (some are textured others not etc.) or should I just use one big shader and use If Statements in it? I heard that If statements are very taxing on the gpu.

Best regards, R.