Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.cpp52 static constexpr auto kAmbientHeightFactor = 1.0f / 128.0f; variable
57 static constexpr auto kMaxAmbientRadius = 300 * kAmbientHeightFactor * kAmbientGeomFactor;
60 return std::min(height * kAmbientHeightFactor * kAmbientGeomFactor, kMaxAmbientRadius); in AmbientBlurRadius()
63 return 1.0f + std::max(height * kAmbientHeightFactor, 0.0f); in AmbientRecipAlpha()