Searched refs:diffuseColor (Results 1 – 4 of 4) sorted by relevance
/external/angle/doc/ |
D | CompilingTranslatorWithEmscripten.md | 47 vec4 diffuseColor = texture2D(diffuse, v_texCoord); 62 (lightColor * (diffuseColor * litR.y + diffuseColor * ambient + 64 diffuseColor.a);
|
/external/mesa3d/src/mesa/main/ |
D | rastpos.c | 146 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos() local 148 COPY_3V(diffuseColor, base[0]); in shade_rastpos() 149 diffuseColor[3] = CLAMP( in shade_rastpos() 205 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); in shade_rastpos() 259 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); in shade_rastpos() 263 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F); in shade_rastpos() 264 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F); in shade_rastpos() 265 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F); in shade_rastpos() 266 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F); in shade_rastpos()
|
/external/swiftshader/src/Renderer/ |
D | VertexProcessor.cpp | 420 void VertexProcessor::setMaterialDiffuse(const Color<float> &diffuseColor) in setMaterialDiffuse() argument 422 ff.materialDiffuse[0] = diffuseColor.r; in setMaterialDiffuse() 423 ff.materialDiffuse[1] = diffuseColor.g; in setMaterialDiffuse() 424 ff.materialDiffuse[2] = diffuseColor.b; in setMaterialDiffuse() 425 ff.materialDiffuse[3] = diffuseColor.a; in setMaterialDiffuse()
|
D | VertexProcessor.hpp | 239 void setMaterialDiffuse(const Color<float> &diffuseColor);
|