This issue is regarding passing parameters from the object to the fragment shader. The parameters can be denoted with iParamters and we can have 'n' fixed parameters for each object. All the parameters are normalized floating points (from 0 to 1). I am thinking of having a total of 6 parameters in total. And they can be referenced within the BRDF shader code by iParameter0,... iParameter5.
This issue is regarding passing parameters from the object to the fragment shader. The parameters can be denoted with iParamters and we can have 'n' fixed parameters for each object. All the parameters are normalized floating points (from 0 to 1). I am thinking of having a total of 6 parameters in total. And they can be referenced within the BRDF shader code by iParameter0,... iParameter5.