Home
last modified time | relevance | path

Searched refs:stepCoeff (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/common/
H A Dbloom_common.h129 const float stepCoeff = (2.0f / 32.0f); in bloomDownscaleWeighted() local
143 color += colSample * stepCoeff * weight; in bloomDownscaleWeighted()
154 color += colSample * stepCoeff * weight; in bloomDownscaleWeighted()
164 color += colSample * stepCoeff * weight; in bloomDownscaleWeighted()
259 const float stepCoeff = (2.0f / 32.0f); in bloomDownscale() local
265 color += textureLod(sampler2D(tex, sampl), vec2(uv.x, uv.y - ts.y), 0).xyz * stepCoeff; in bloomDownscale()
268 color += textureLod(sampler2D(tex, sampl), vec2(uv.x - ts.x, uv.y), 0).xyz * stepCoeff; in bloomDownscale()
270 color += textureLod(sampler2D(tex, sampl), vec2(uv.x + ts.x, uv.y), 0).xyz * stepCoeff; in bloomDownscale()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/
H A Drender_blur_common.h247 const float stepCoeff = (2.0f / 32.0f); in SoftDownscaleRGB() local
253 color += textureLod(sampler2D(tex, sampl), vec2(uv.x, uv.y - ts.y), 0).xyz * stepCoeff; in SoftDownscaleRGB()
256 color += textureLod(sampler2D(tex, sampl), vec2(uv.x - ts.x, uv.y), 0).xyz * stepCoeff; in SoftDownscaleRGB()
258 color += textureLod(sampler2D(tex, sampl), vec2(uv.x + ts.x, uv.y), 0).xyz * stepCoeff; in SoftDownscaleRGB()
369 const float stepCoeff = (2.0f / 32.0f); // 2.0: param, 32.0: param in SoftDownscaleRGBLayer() local
375 color += textureLod(sampler2DArray(tex, sampl), vec3(uv.x, uv.y - ts.y, dirLayer.z), 0).xyz * stepCoeff; in SoftDownscaleRGBLayer()
378 color += textureLod(sampler2DArray(tex, sampl), vec3(uv.x - ts.x, uv.y, dirLayer.z), 0).xyz * stepCoeff; in SoftDownscaleRGBLayer()
380 color += textureLod(sampler2DArray(tex, sampl), vec3(uv.x + ts.x, uv.y, dirLayer.z), 0).xyz * stepCoeff; in SoftDownscaleRGBLayer()

Completed in 2 milliseconds