Home
last modified time | relevance | path

Searched refs:blendFactor (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
DAbstractTextureBlender.java30 …Pixel(float[] result, float[] materialColor, float[] pixelColor, float blendFactor, int blendtype,… in blendPixel() argument
31 float oneMinusFactor = 1.0f - blendFactor, col; in blendPixel()
35 result[0] = blendFactor * pixelColor[0] + oneMinusFactor * materialColor[0]; in blendPixel()
36 result[1] = blendFactor * pixelColor[1] + oneMinusFactor * materialColor[1]; in blendPixel()
37 result[2] = blendFactor * pixelColor[2] + oneMinusFactor * materialColor[2]; in blendPixel()
40 result[0] = (oneMinusFactor + blendFactor * materialColor[0]) * pixelColor[0]; in blendPixel()
41 result[1] = (oneMinusFactor + blendFactor * materialColor[1]) * pixelColor[1]; in blendPixel()
42 result[2] = (oneMinusFactor + blendFactor * materialColor[2]) * pixelColor[2]; in blendPixel()
46 …result[0] = (oneMinusFactor * materialColor[0] + blendFactor * materialColor[0] / pixelColor[0]) *… in blendPixel()
49 …result[1] = (oneMinusFactor * materialColor[1] + blendFactor * materialColor[1] / pixelColor[1]) *… in blendPixel()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/post/
DHDRRenderer.java84 private float blendFactor = 0; field in HDRRenderer
241 tone.setFloat("BlendFactor", blendFactor); in renderToneMap()
339 blendFactor = (time / throttle); in preFrame()
370 blendFactor = 0; in postFrame()
381 blendFactor = 0; in postFrame()
391 blendFactor = 0; in postFrame()
/external/deqp/framework/common/
DtcuTestLog.cpp220 const float blendFactor = 0.85f; in writeImage() local
250 Vec4 b = s + p*blendFactor; in writeImage()