Lines Matching refs:fac
130 * @param fac
137 protected void blendHSV(int type, float[] materialRGB, float fac, float[] pixelColor, BlenderContext blenderContext) {
138 float oneMinusFactor = 1.0f - fac;
150 materialRGB[0] = oneMinusFactor * materialRGB[0] + fac * colorTransformResult[0];
151 materialRGB[1] = oneMinusFactor * materialRGB[1] + fac * colorTransformResult[1];
152 materialRGB[2] = oneMinusFactor * materialRGB[2] + fac * colorTransformResult[2];
164 materialHelper.hsvToRgb(h, (oneMinusFactor * s + fac * colorTransformResult[1]), v, materialRGB);
173 materialHelper.hsvToRgb(rgbToHsv[0], rgbToHsv[1], (oneMinusFactor * rgbToHsv[2] + fac * colToHsv[2]), materialRGB);
185 materialRGB[0] = oneMinusFactor * materialRGB[0] + fac * rgbToHsv[0];
186 materialRGB[1] = oneMinusFactor * materialRGB[1] + fac * rgbToHsv[1];
187 materialRGB[2] = oneMinusFactor * materialRGB[2] + fac * rgbToHsv[2];