Home
last modified time | relevance | path

Searched refs:aDiffuse (Results 1 – 6 of 6) sorted by relevance

/dports/cad/opencascade/opencascade-7.6.0/src/Shaders/
H A DPBRIllumination.glsl22 vec3 aDiffuse = vec3(1.0) - aFresnel;
23 aDiffuse *= 1.0 - theMetallic;
24 aDiffuse *= INV_PI;
25 aDiffuse *= theBaseColor.rgb;
26 aDiffuse = mix (vec3(0.0), aDiffuse, theBaseColor.a);
27 …return (aDiffuse + aSpecular) * theLightColor * theLightIntensity * max(0.0, dot(theLight, theNorm…
H A DShaders_PBRIllumination_glsl.pxx25 " vec3 aDiffuse = vec3(1.0) - aFresnel;\n"
26 " aDiffuse *= 1.0 - theMetallic;\n"
27 " aDiffuse *= INV_PI;\n"
28 " aDiffuse *= theBaseColor.rgb;\n"
29 " aDiffuse = mix (vec3(0.0), aDiffuse, theBaseColor.a);\n"
30 …" return (aDiffuse + aSpecular) * theLightColor * theLightIntensity * max(0.0, dot(theLight, theN…
H A DRaytraceBase.fs1100 vec4 aDiffuse = texelFetch (
1108 if (aDiffuse.w >= 0.f)
1121 sampler2D (uTextureSamplers[int(aDiffuse.w)]), aTexCoord.st, 0.f);
1123 aDiffuse.rgb *= aTexColor.rgb;
1182 (aDiffuse.xyz * aLdotN + aSpecular.xyz * pow (max (0.f, aRdotV), aSpecular.w));
H A DShaders_RaytraceBase_fs.pxx1103 " vec4 aDiffuse = texelFetch (\n"
1111 " if (aDiffuse.w >= 0.f)\n"
1124 " sampler2D (uTextureSamplers[int(aDiffuse.w)]), aTexCoord.st, 0.f);\n"
1126 " aDiffuse.rgb *= aTexColor.rgb;\n"
1185 " (aDiffuse.xyz * aLdotN + aSpecular.xyz * pow (max (0.f, aRdotV), aSpecular.w));\n"
/dports/cad/opencascade/opencascade-7.6.0/src/ViewerTest/
H A DViewerTest_OpenGlCommands.cxx743 const Graphic3d_Vec3 aDiffuse = (Graphic3d_Vec3 )aMat.DiffuseColor(); in VListMaterials() local
751 *aMatFile << "Kd " << Quantity_Color::Convert_LinearRGB_To_sRGB (aDiffuse) << "\n"; in VListMaterials()
772 …*aHtmlFile << "<td>" << formatSvgColoredRect (Quantity_Color (aDiffuse)) << aDiffuse << "</td>… in VListMaterials()
797 theDI << " Common.Diffuse: " << aDiffuse << "\n"; in VListMaterials()
/dports/cad/opencascade/opencascade-7.6.0/src/Graphic3d/
H A DGraphic3d_MaterialAspect.cxx513 const Quantity_Color aDiffuse ((Graphic3d_Vec3 )theColor * aSrcMat.DiffuseCoef); in SetColor() local
516 || !myColors[Graphic3d_TOR_DIFFUSE].IsEqual (aDiffuse))) in SetColor()
521 myColors[Graphic3d_TOR_DIFFUSE] = aDiffuse; in SetColor()