Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DGBuf.frag74 vec4 specularColor = texture2D(m_SpecularMap, newTexCoord);
76 vec4 specularColor = vec4(1.0);
80 specularColor.rgb *= SpecularSum.rgb;
85 gl_FragData[2] = vec4(specularColor.rgb, m_Shininess / 128.0);
DLighting.frag227 vec4 specularColor = texture2D(m_SpecularMap, newTexCoord);
229 vec4 specularColor = vec4(1.0);
239 specularColor.rgb *= lightMapColor;
252 SpecularSum * specularColor.rgb * vec3(light.y);
261 specularColor.rgb *= texture2D(m_ColorRamp, vec2(light.y, 0.0)).rgb;
271 specularColor = mix(SpecularSum2 * light.y, refColor, refVec.w) * specularColor;
279 SpecularSum2.rgb * specularColor.rgb * vec3(light.y);
DDeferred.frag127 vec4 specularColor = texture2D(m_SpecularData, newTexCoord);
137 vec2 light = computeLighting(worldPosition, normal, viewDir, lightDir, specularColor.w*128.0);
141 specularColor.rgb *= texture2D(m_ColorRamp, vec2(light.y, 0.0)).rgb;
144 gl_FragColor = vec4(light.x * diffuseColor.xyz + light.y * specularColor.xyz, 1.0);
/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c124 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos() local
129 ASSIGN_4V(specularColor, 0.0, 0.0, 0.0, 1.0); in shade_rastpos()
235 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib ); in shade_rastpos()
242 Rspec[0] = CLAMP(specularColor[0], 0.0F, 1.0F); in shade_rastpos()
243 Rspec[1] = CLAMP(specularColor[1], 0.0F, 1.0F); in shade_rastpos()
244 Rspec[2] = CLAMP(specularColor[2], 0.0F, 1.0F); in shade_rastpos()
245 Rspec[3] = CLAMP(specularColor[3], 0.0F, 1.0F); in shade_rastpos()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/
DMaterialContext.java50 /* package */final ColorRGBA specularColor; field in MaterialContext
81 specularColor = ambientColor = null; in MaterialContext()
88 specularColor = this.readSpecularColor(structure, specularShader); in MaterialContext()
182 if(specularColor != null) { in MaterialContext()
183 transparent = transparent || specularColor.a < 1.0f; in MaterialContext()
421 return specularColor.clone(); in getSpecularColor()
DMaterialHelper.java262 result.setColor("Specular", materialContext.specularColor); in toMaterial()
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.frag615 vec4 specularColor = vec4(1.0);
622 SpecularSum * specularColor * light.y;