Home
last modified time | relevance | path

Searched refs:shininess (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/mesa/tnl/
Dt_vb_light.c120 validate_shine_table( struct gl_context *ctx, GLuint side, GLfloat shininess ) in validate_shine_table() argument
129 if ( s->shininess == shininess ) in validate_shine_table()
142 if (shininess == 0.0) { in validate_shine_table()
151 t = pow(x, shininess); in validate_shine_table()
160 s->shininess = shininess; in validate_shine_table()
176 GLfloat shininess; in _tnl_validate_shine_tables() local
178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; in _tnl_validate_shine_tables()
179 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess) in _tnl_validate_shine_tables()
180 validate_shine_table( ctx, 0, shininess ); in _tnl_validate_shine_tables()
182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; in _tnl_validate_shine_tables()
[all …]
Dt_context.c90 s->shininess = -1; in _tnl_CreateContext()
Dt_context.h396 GLfloat shininess; member
/external/skia/gm/
Dlighting.cpp84 SkScalar shininess = SkIntToScalar(8); in onDraw() local
130 shininess, in onDraw()
139 shininess, in onDraw()
151 shininess, in onDraw()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/
DMaterialContext.java52 /* package */final float shininess; field in MaterialContext
82 shininess = 0.0f; in MaterialContext()
96 float shininess = ((Number) structure.getFieldValue("emit")).floatValue(); in MaterialContext() local
97 this.shininess = shininess > 0.0f ? shininess : MaterialHelper.DEFAULT_SHININESS; in MaterialContext()
442 return shininess; in getShininess()
DMaterialHelper.java265 result.setFloat("Shininess", materialContext.shininess); in toMaterial()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DWaterFilter.java104 private float shininess = 0.7f; field in WaterFilter
282 material.setFloat("Shininess", shininess); in initFilter()
326 oc.write(shininess, "shininess", 0.7f); in write()
370 shininess = ic.readFloat("shininess", 0.7f); in read()
725 return shininess; in getShininess()
733 public void setShininess(float shininess) { in setShininess() argument
734 this.shininess = shininess; in setShininess()
736 material.setFloat("Shininess", shininess); in setShininess()
/external/skia/include/effects/
DSkLightingImageFilter.h60 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
63 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
67 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
/external/skia/src/effects/
DSkLightingImageFilter.cpp81 SpecularLightingType(SkScalar ks, SkScalar shininess) in SpecularLightingType() argument
82 : fKS(ks), fShininess(shininess) {} in SpecularLightingType()
438 SkScalar ks, SkScalar shininess, SkImageFilter*, const CropRect*);
444 SkScalar shininess() const { return fShininess; } in shininess() function in __anonae3a547c0111::SkSpecularLightingImageFilter
448 SkScalar shininess, SkImageFilter* input, const CropRect*);
539 SkScalar shininess, in Create() argument
546 shininess, in Create()
557 SkScalar shininess() const { return fShininess; } in shininess() function in __anonae3a547c0111::GrSpecularLightingEffect
567 SkScalar shininess,
1231 SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect) { in Create() argument
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DMTLLoader.java68 protected float shininess = 16; field in MTLLoader
112 shininess = 16; in resetMaterial()
144 material.setFloat("Shininess", shininess); // prevents "premature culling" bug in createMaterial()
214 shininess = shiny; /* (128f / 1000f)*/ in readLine()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderContext.java261 public float shininess; field in RenderContext
316 shininess = 0; in reset()
/external/skia/bench/
DLightingBench.cpp80 static SkScalar shininess = SkIntToScalar(8); in getShininess() local
81 return shininess; in getShininess()
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c1061 struct ureg shininess = get_material(p, 0, STATE_SHININESS); in build_lighting() local
1062 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X)); in build_lighting()
1063 release_temp(p, shininess); in build_lighting()
1078 struct ureg shininess = get_material(p, 1, STATE_SHININESS); in build_lighting() local
1080 negate(swizzle1(shininess,X))); in build_lighting()
1081 release_temp(p, shininess); in build_lighting()
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.j3md24 // Specular power/shininess
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DLighting.j3md49 // Specular power/shininess
DLighting.frag96 // NOTE: check for shiny <= 1 removed since shininess is now
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java189 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, context.shininess); in applyFixedFuncBindings()
219 context.shininess = 0; in resetFixedFuncBindings()
238 context.shininess = (Float) val; in setFixedFuncBinding()
/external/v8/benchmarks/
Draytrace.js713 var shininess = Math.pow(10, info.shape.material.gloss + 1);
798 var glossWeight = Math.pow(Math.max(info.normal.dot(H), 0), shininess);
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l302 {dot}shininess { return SHININESS; }
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_reg.h1596 float shininess; member
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c416 _debug_printf("\t\t.material.shininess = %f\n", (*cmd).material.shininess); in dump_SVGA3dCmdSetMaterial()