Home
last modified time | relevance | path

Searched refs:Diffuse (Results 1 – 25 of 36) sorted by relevance

12

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/
DColorAttribute.java25 public final static long Diffuse = register(DiffuseAlias); field in ColorAttribute
39 …protected static long Mask = Ambient | Diffuse | Specular | Emissive | Reflection | AmbientLight |…
54 return new ColorAttribute(Diffuse, color); in createDiffuse()
58 return new ColorAttribute(Diffuse, r, g, b, a); in createDiffuse()
DTextureAttribute.java29 public final static long Diffuse = register(DiffuseAlias); field in TextureAttribute
43 protected static long Mask = Diffuse | Specular | Bump | Normal | Ambient | Emissive | Reflection;
50 return new TextureAttribute(Diffuse, texture); in createDiffuse()
54 return new TextureAttribute(Diffuse, region); in createDiffuse()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DMaterialTest.java62 textureAttribute = new TextureAttribute(TextureAttribute.Diffuse, texture); in create()
63 colorAttribute = new ColorAttribute(ColorAttribute.Diffuse, Color.ORANGE); in create()
111 if (!material.has(TextureAttribute.Diffuse)) in touchUp()
113 else if (!material.has(ColorAttribute.Diffuse)) in touchUp()
DShaderTest.java123 withColor = renderable.material.has(ColorAttribute.Diffuse); in TestShader()
149 …return instance.material.has(TestAttribute.ID) && (instance.material.has(ColorAttribute.Diffuse) =… in canRender()
168 ColorAttribute colorAttr = (ColorAttribute)renderable.material.get(ColorAttribute.Diffuse); in render()
DTextureRegion3DTest.java63 …rial(ColorAttribute.createDiffuse(1f, 1f, 1f, 1f), new TextureAttribute(TextureAttribute.Diffuse)); in create()
66 attribute = instance.materials.get(0).get(TextureAttribute.class, TextureAttribute.Diffuse); in create()
DLightsTest.java63 ((ColorAttribute)pLight.material.get(ColorAttribute.Diffuse)).color.set(pointLight.color); in onLoaded()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DCullTest.java53 …teSphere(2f, 2f, 2f, 16, 16, new Material(new ColorAttribute(ColorAttribute.Diffuse, Color.WHITE)), in create()
90 …((ColorAttribute)instances[i].materials.get(0).get(ColorAttribute.Diffuse)).color.set(Color.WHITE); in render()
93 … ((ColorAttribute)instances[i].materials.get(0).get(ColorAttribute.Diffuse)).color.set(Color.RED); in render()
DProjectTest.java54 sphere.materials.get(0).set(new ColorAttribute(ColorAttribute.Diffuse, Color.WHITE)); in create()
82 …((ColorAttribute)instances[i].materials.get(0).get(ColorAttribute.Diffuse)).color.set(Color.WHITE); in render()
85 … ((ColorAttribute)instances[i].materials.get(0).get(ColorAttribute.Diffuse)).color.set(Color.RED); in render()
DFramebufferToTextureTest.java56 mesh.materials.get(0).set(new TextureAttribute(TextureAttribute.Diffuse, texture)); in create()
/external/mesa3d/src/mesa/main/
Dlight.c117 if (TEST_EQ_4V(light->Diffuse, params)) in _mesa_light()
120 COPY_4V( light->Diffuse, params ); in _mesa_light()
350 COPY_4V( params, ctx->Light.Light[l].Diffuse ); in _mesa_GetLightfv()
403 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[0]); in _mesa_GetLightiv()
404 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[1]); in _mesa_GetLightiv()
405 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[2]); in _mesa_GetLightiv()
406 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[3]); in _mesa_GetLightiv()
674 SCALE_3V( light->_MatDiffuse[0], light->Diffuse, in _mesa_update_material()
681 SCALE_3V( light->_MatDiffuse[1], light->Diffuse, in _mesa_update_material()
1127 ASSIGN_4V( l->Diffuse, 1.0, 1.0, 1.0, 1.0 ); in init_light()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
DDepthShader.java124 … (attributes.has(TextureAttribute.Diffuse) != ((attributesMask & TextureAttribute.Diffuse) == Text… in canRender()
DDefaultShader.java98 public final static Uniform diffuseColor = new Uniform("u_diffuseColor", ColorAttribute.Diffuse);
99 …ic final static Uniform diffuseTexture = new Uniform("u_diffuseTexture", TextureAttribute.Diffuse);
100 … static Uniform diffuseUVTransform = new Uniform("u_diffuseUVTransform", TextureAttribute.Diffuse);
226 shader.set(inputID, ((ColorAttribute)(combinedAttributes.get(ColorAttribute.Diffuse))).color);
233 .get(TextureAttribute.Diffuse))).textureDescription);
240 … final TextureAttribute ta = (TextureAttribute)(combinedAttributes.get(TextureAttribute.Diffuse));
405 … long implementedFlags = BlendingAttribute.Type | TextureAttribute.Diffuse | ColorAttribute.Diffuse
673 if ((attributesMask & TextureAttribute.Diffuse) == TextureAttribute.Diffuse) { in createPrefix()
697 if ((attributesMask & ColorAttribute.Diffuse) == ColorAttribute.Diffuse) in createPrefix()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/
Dmain.fragment.glsl156 // Diffuse
187 // Diffuse
213 // Diffuse
Dpass2.fragment.glsl129 // Diffuse
163 // Diffuse
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/
Dmain.fragment.glsl191 // Diffuse
232 // Diffuse
258 // Diffuse
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DBaseEntity.java46 ColorAttribute ca = (ColorAttribute)m.get(ColorAttribute.Diffuse); in setColor()
DConstraintsTest.java40 …Model = modelBuilder.createBox(10f, 1f, 1f, new Material(new ColorAttribute(ColorAttribute.Diffuse, in create()
DOcclusionCullingTest.java260 TextureAttribute defaultTexture = new TextureAttribute(TextureAttribute.Diffuse, in create()
267 …if (!model.materials.first().has(TextureAttribute.Diffuse)) model.materials.first().set(defaultTex… in create()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/
DPointSpriteParticleBatch.java91 TextureAttribute attribute = (TextureAttribute) renderable.material.get(TextureAttribute.Diffuse); in setTexture()
96 TextureAttribute attribute = (TextureAttribute) renderable.material.get(TextureAttribute.Diffuse); in getTexture()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/
DModelInstanceRenderer.java65 …orAttribute colorAttribute = (ColorAttribute)instance.materials.get(0).get(ColorAttribute.Diffuse); in update()
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c191 OFFSET( "LIGHT_DIFFUSE ", struct gl_light, Diffuse ); in main()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DModel.java276 if (mtl.diffuse != null) result.set(new ColorAttribute(ColorAttribute.Diffuse, mtl.diffuse)); in convertMaterial()
310 …result.set(new TextureAttribute(TextureAttribute.Diffuse, descriptor, offsetU, offsetV, scaleU, sc… in convertMaterial()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/
DVoxelWorld.java100 …materials[i] = new Material(new ColorAttribute(ColorAttribute.Diffuse, MathUtils.random(0.5f, 1f),… in VoxelWorld()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c290 l->Diffuse : in nv20_emit_material_diffuse()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); in _mesa_fetch_state()
184 value[i] = ctx->Light.Light[ln].Diffuse[i] * in _mesa_fetch_state()

12