Does one provide for each supported BRDF, a separate shader for each type of light sources (i.e. directional, point, lightmap, etc.)? Or is it somehow possible to use a single shader for all types of light sources?
↧
Does one provide for each supported BRDF, a separate shader for each type of light sources (i.e. directional, point, lightmap, etc.)? Or is it somehow possible to use a single shader for all types of light sources?