HomeSort by relevance Sort by last modified time
    Searched refs:firstPixelValue (Results 1 - 2 of 2) sorted by null

  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
TextureBlenderAWT.java 97 float firstPixelValue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
100 materialColor[0] = firstPixelValue;
109 materialColor[3] = firstPixelValue;
118 materialColor[2] = firstPixelValue;
126 materialColor[0] = firstPixelValue;
TextureBlenderLuminance.java 80 float firstPixelValue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
83 result[0] = neg ? 1.0f - firstPixelValue : firstPixelValue;
87 result[0] = neg ? 1.0f - firstPixelValue : firstPixelValue;

Completed in 755 milliseconds