Home
last modified time | relevance | path

Searched refs:diffuse (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java83 float diffuse = .7f; in simpleSetup() local
93 mColor[p + DIFF] = (byte) (255 * diffuse); in simpleSetup()
118 float diffuse = .7f; in setup() local
125 mMaterialProp[i].mDiffuse = diffuse; in setup()
154 float diffuse = (material[i].length > 3) ? material[i][3] / 100.f : .6f; in setup() local
160 mMaterialProp[i].mDiffuse = diffuse; in setup()
183 float diffuse = .7f; in setup() local
190 mMaterialProp[i].mDiffuse = diffuse; in setup()
270 float diffuse = m[k].mDiffuse * t1 + m[k + 1].mDiffuse * t2; in buildMaterialProp() local
279 mColor[p + DIFF] = (byte) (255 * diffuse); in buildMaterialProp()
Dvr.rscript170 float diffuse = mat.z * (1/255.f);
171 float lop = (ambient + diffuse * dot_prod) * light * opf;
273 float diffuse = mat.z * (1/255.f);// diffuse
274 … float lop = (ambient + diffuse * dot_prod + specular * pow(spec, 10)) * light * opf;