Home
last modified time | relevance | path

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

/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
Dlight_gouraud.glsl8 …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/
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.cpp76 SkScalar shininess = SkIntToScalar(8); in onDraw() local
122 shininess, in onDraw()
131 shininess, in onDraw()
143 shininess, in onDraw()
/external/skia/include/effects/
DSkLightingImageFilter.h32 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/
DSkLightingImageFilter.cpp101 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/
DObjLoader.java340 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()
DG3dModelLoader.java200 jsonMaterial.shininess = material.getFloat("shininess", 0.0f); in parseMaterials()
/external/skia/bench/
DLightingBench.cpp82 static SkScalar shininess = SkIntToScalar(8); in GetShininess() local
83 return shininess; in GetShininess()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/
DModelMaterial.java37 public float shininess; field in ModelMaterial
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dshader.h25 GLint shininess; member
Dshader.c122 GET_UNIFORM_LOC(Lit, shininess); in getLocations()
Ddemo.c689 glUniform1f(sShaderLit.shininess, 60.f); in appInit()
/external/vulkan-validation-layers/libs/glm/detail/
Ddummy.cpp43 float shininess; // Srm member
/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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
DDefaultShader.java96 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/
DModel.java280 if (mtl.shininess > 0f) result.set(new FloatAttribute(FloatAttribute.Shininess, mtl.shininess)); in convertMaterial()
/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()