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

  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
MTLLoader.java 66 protected ColorRGBA diffuse = new ColorRGBA(); field in class:MTLLoader
110 diffuse.set(ColorRGBA.LightGray);
130 diffuse.a = alpha;
135 material.setColor("Color", diffuse.clone());
142 material.setColor("Diffuse", diffuse.clone());
208 diffuse.set(readColor());
275 // Works best if diffuse map has an alpha channel
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
RenderContext.java 244 * Diffuse color (GL1 only)
246 public ColorRGBA diffuse; field in class:RenderContext
315 ambient = diffuse = specular = color = null;
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
MaterialLoader.java 63 private ColorRGBA ambient, diffuse, specular, emissive; field in class:MaterialLoader
213 if (keyword.equals("diffuse")){
216 diffuse = ColorRGBA.White;
219 diffuse = readColor(split[1]);
363 if(diffuse != null){
364 mat.setColor("Diffuse", diffuse);
366 mat.setColor("Diffuse", ColorRGBA.White);
404 if(diffuse != null){
405 mat.setColor("Color", diffuse);
    [all...]
  /frameworks/native/opengl/libagl/
light.cpp 74 init_white(c->lighting.lights[0].diffuse);
81 c->lighting.front.diffuse.r =
82 c->lighting.front.diffuse.g =
83 c->lighting.front.diffuse.b = gglFloatToFixed(0.8f);
84 c->lighting.front.diffuse.a = 0x10000;
253 vmul3(l.implicitDiffuse.v, material.diffuse.v, l.diffuse.v);
271 c->lighting.implicitSceneEmissionAndAmbient.a = material.diffuse.a;
317 material.diffuse = v->color;
325 vmul3(l.implicitDiffuse.v, material.diffuse.v, l.diffuse.v)
    [all...]
context.h 284 vec4_t diffuse; member in struct:android::gl::light_t
304 vec4_t diffuse; member in struct:android::gl::material_t
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
TextureAtlas.java 144 Texture diffuse = getMaterialTexture(geometry, "DiffuseMap"); local
147 if (diffuse == null) {
148 diffuse = getMaterialTexture(geometry, "ColorMap");
151 if (diffuse != null && diffuse.getKey() != null) {
152 String keyName = diffuse.getKey().toString();
153 if (!addTexture(diffuse, "DiffuseMap")) {
157 addTexture(diffuse, "NormalMap", keyName);
262 throw new IllegalStateException(mapName + " " + name + " does not fit " + rootMapName + " tile size. Make sure all textures (diffuse, normal, specular) for one model are the same size.");
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppRS.java 140 fb.addTexture(TextureType.TEXTURE_2D, "diffuse");
169 mDiffuseF = createFromResource(R.raw.diffuse, false, camParamType);
225 RenderState diffuse = new RenderState(mGenericV, mDiffuseF, null, null); local
240 mActiveScene.assignRenderStateToMaterial(diffuse, "lambert2$");
SimpleAppRS.java 142 fb.setShader(mRes, R.raw.diffuse);
143 // We want a texture called diffuse on our shader
144 fb.addTexture(TextureType.TEXTURE_2D, "diffuse");
167 // This will mean a texture param in the shader called "diffuse"
169 sphere.appendSourceParams(new TextureParam("diffuse", new Texture2D("", "red.jpg")));
181 cube.appendSourceParams(new TextureParam("diffuse", new Texture2D("", "orange.jpg")));
  /external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/
atlantis.c 138 static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; local
156 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
  /external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/
atlantis.c 138 static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; local
156 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
  /external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/
atlantis.c 138 static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; local
156 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
  /external/quake/quake/src/QW/client/
gl_rmain.c 705 float ambient[4], diffuse[4]; local
757 diffuse[0] = diffuse[1] = diffuse[2] = diffuse[3] = (float)shadelight / 128;
  /external/quake/quake/src/WinQuake/
gl_rmain.cpp 793 float ambient[4], diffuse[4]; local
848 diffuse[0] = diffuse[1] = diffuse[2] = diffuse[3] = (float)shadelight / 128;
    [all...]
  /external/v8/benchmarks/
navier-stokes.js 157 function diffuse(b, x, x0, dt)
280 diffuse(0, x0, x, dt );
raytrace.js 718 // Calc diffuse lighting
  /external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
LwjglGL1Renderer.java 191 setMaterialColor(GL_DIFFUSE, context.diffuse, ColorRGBA.White);
217 context.diffuse = null;
232 context.diffuse = (ColorRGBA) val;
    [all...]
  /external/quake/quake/src/QW/dxsdk/sdk/inc/
d3dtypes.h 442 D3DCOLORVALUE diffuse; /* Diffuse color RGBA */ member in union:_D3DMATERIAL::__anon14279
  /external/quake/quake/src/WinQuake/dxsdk/SDK/INC/
D3DTYPES.H 442 D3DCOLORVALUE diffuse; /* Diffuse color RGBA */ member in union:_D3DMATERIAL::__anon14462
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Context.cpp 2507 D3DCOLOR diffuse; member in struct:gl::Vertex
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-raytrace.js 744 // Calc diffuse lighting
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-raytrace.js 744 // Calc diffuse lighting
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-raytrace.js 713 // Calc diffuse lighting

Completed in 1065 milliseconds