/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/ |
D | light_gouraud.glsl | 8 …ts(const in vec4 position, const in vec3 viewVec, const in vec3 normal, const in float shininess) { 16 applyDirectionalLights(g_lightDiffuse, g_lightSpecular, viewVec, normal, shininess); 17 applyPointLights(g_lightDiffuse, g_lightSpecular, position, viewVec, normal, shininess); 20 #define applyLights(position, viewVec, normal, shininess) nop() 24 …larComponent(normal, lightDir, viewDir, shininess) pow(dot(normal, normalize((lightDir) + (viewDir… 44 …fuse, inout vec3 specular, const in vec3 viewVec, const in vec3 normal, const in float shininess) { 49 …r += u_dirLights[i].color * NdotL * gouraudSpecularComponent(normal, lightDir, viewVec, shininess); 51 //specular += u_dirLights[i].color * clamp(NdotL * pow(halfDotView, shininess), 0.0, 1.0); 55 … specular, viewVec, normal, shininess) applyDiffuseAndSpecularDirectionalLights(diffuse, specular,… 57 …#define applyDirectionalLights(diffuse, specular, viewVec, normal, shininess) applyDiffuseDirectio… [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_light.c | 120 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 …]
|
D | t_context.c | 90 s->shininess = -1; in _tnl_CreateContext()
|
D | t_context.h | 396 GLfloat shininess; member
|
/external/skia/gm/ |
D | lighting.cpp | 76 SkScalar shininess = SkIntToScalar(8); in onDraw() local 122 shininess, in onDraw() 131 shininess, in onDraw() 143 shininess, in onDraw()
|
/external/skia/include/effects/ |
D | SkLightingImageFilter.h | 32 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 35 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 39 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
|
/external/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 101 SpecularLightingType(SkScalar ks, SkScalar shininess) in SpecularLightingType() argument 102 : fKS(ks), fShininess(shininess) {} in SpecularLightingType() 506 SkScalar ks, SkScalar shininess, SkImageFilter*, const CropRect*); 512 SkScalar shininess() const { return fShininess; } in shininess() function in __anon8216b1c80111::SkSpecularLightingImageFilter 516 SkScalar shininess, SkImageFilter* input, const CropRect*); 608 SkScalar shininess, in Create() argument 611 return new GrSpecularLightingEffect(texture, light, surfaceScale, matrix, ks, shininess, in Create() 620 SkScalar shininess() const { return fShininess; } in shininess() function in __anon8216b1c80111::GrSpecularLightingEffect 632 SkScalar shininess, 1326 SkScalar shininess, in Create() argument [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
D | ObjLoader.java | 340 float shininess = 0.f; in load() local 365 mat.shininess = shininess; in load() 384 shininess = 0.f; in load() 403 shininess = Float.parseFloat(tokens[1]); in load() 420 mat.shininess = shininess; in load()
|
D | G3dModelLoader.java | 200 jsonMaterial.shininess = material.getFloat("shininess", 0.0f); in parseMaterials()
|
/external/skia/bench/ |
D | LightingBench.cpp | 82 static SkScalar shininess = SkIntToScalar(8); in GetShininess() local 83 return shininess; in GetShininess()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/ |
D | ModelMaterial.java | 37 public float shininess; field in ModelMaterial
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | shader.h | 25 GLint shininess; member
|
D | shader.c | 122 GET_UNIFORM_LOC(Lit, shininess); in getLocations()
|
D | demo.c | 689 glUniform1f(sShaderLit.shininess, 60.f); in appInit()
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | dummy.cpp | 43 float shininess; // Srm member
|
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 1061 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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/ |
D | DefaultShader.java | 96 public final static Uniform shininess = new Uniform("u_shininess", FloatAttribute.Shininess); field in DefaultShader.Inputs 217 public final static Setter shininess = new LocalSetter() { field in DefaultShader.Setters 566 u_shininess = register(Inputs.shininess, Setters.shininess); in DefaultShader()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
D | Model.java | 280 if (mtl.shininess > 0f) result.set(new FloatAttribute(FloatAttribute.Shininess, mtl.shininess)); in convertMaterial()
|
/external/v8/benchmarks/ |
D | raytrace.js | 713 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/ |
D | program_lexer.l | 302 {dot}shininess { return SHININESS; }
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_reg.h | 1596 float shininess; member
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.c | 416 _debug_printf("\t\t.material.shininess = %f\n", (*cmd).material.shininess); in dump_SVGA3dCmdSetMaterial()
|