Home
last modified time | relevance | path

Searched refs:lightColor (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/effects/
DSkLightingImageFilter.h53 SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
56 SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
60 SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
63 SkColor lightColor, SkScalar surfaceScale, SkScalar ks,
66 SkColor lightColor, SkScalar surfaceScale, SkScalar ks,
70 SkColor lightColor, SkScalar surfaceScale, SkScalar ks,
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DLighting.vert145 //vec4 lightColor = g_LightColor[gl_InstanceID];
147 //vec4 wvLightPos = (g_ViewMatrix * vec4(lightPos.xyz, lightColor.w));
152 vec4 lightColor = g_LightColor;
163 lightComputeDir(wvPosition, lightColor, wvLightPos, vLightDir);
171 lightComputeDir(wvPosition, lightColor, wvLightPos, vLightDir);
184 lightColor.w = 1.0;
187 DiffuseSum = m_Diffuse * lightColor;
188 SpecularSum = (m_Specular * lightColor).rgb;
191 DiffuseSum = lightColor;
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.vert63 vec4 lightColor = g_LightColor;
76 lightComputeDir(wvPosition, lightColor, wvLightPos, vLightDir);
88 lightComputeDir(wvPosition, lightColor, wvLightPos, vLightDir);
98 DiffuseSum = lightColor;
99 SpecularSum = lightColor;
/external/skia/src/effects/
DSkLightingImageFilter.cpp63 …r light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { in light()
66 SkPoint3 color(lightColor * colorScale); in light()
80 …r light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { in light()
87 SkPoint3 color(lightColor * colorScale); in light()
179 …*dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surface… in lightBitmap()
186 …*dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLi… in lightBitmap()
190 …*dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfac… in lightBitmap()
207 …*dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToL… in lightBitmap()
214 …lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight)); in lightBitmap()
218 …*dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceTo… in lightBitmap()
[all …]
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DWaterFilter.java90 private ColorRGBA lightColor = ColorRGBA.White; field in WaterFilter
275 material.setColor("LightColor", lightColor); in initFilter()
308 oc.write(lightColor, "lightColor", ColorRGBA.White); in write()
352 lightColor = (ColorRGBA) ic.readSavable("lightColor", ColorRGBA.White); in read()
527 return lightColor; in getLightColor()
535 public void setLightColor(ColorRGBA lightColor) { in setLightColor() argument
536 this.lightColor = lightColor; in setLightColor()
538 material.setColor("LightColor", lightColor); in setLightColor()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java649 Uniform lightColor = shader.getUniform("g_LightColor"); in updateLightListUniforms() local
652 lightColor.setVector4Length(numLights); in updateLightListUniforms()
663 lightColor.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms()
668 lightColor.setVector4InArray(color.getRed(), in updateLightListUniforms()
708 lightColor.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms()
720 Uniform lightColor = shader.getUniform("g_LightColor"); in renderMultipassLighting() local
753 lightColor.setValue(VarType.Vector4, tmpLightColor); in renderMultipassLighting()
807 lightColor.setValue(VarType.Vector4, ColorRGBA.BlackNoAlpha); in renderMultipassLighting()
/external/webkit/Source/WebCore/inspector/front-end/
Dinspector.js1132 var lightColor = "rgb(228, 241, 251)";
1143 g.fillStyle = lightColor;