Searched refs:centerCoeff (Results 1 - 2 of 2) sorted by relevance
/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/common/ |
H A D | bloom_common.h | 130 const float centerCoeff = (4.0f / 32.0f); in bloomDownscaleWeighted() local 159 color += colSample * centerCoeff * weight; in bloomDownscaleWeighted() 175 color += colSample * centerCoeff * weight; in bloomDownscaleWeighted() 188 color += colSample * centerCoeff * weight; in bloomDownscaleWeighted() 193 color += colSample * centerCoeff * weight; in bloomDownscaleWeighted() 198 color += colSample * centerCoeff * weight; in bloomDownscaleWeighted() 203 color += colSample * centerCoeff * weight; in bloomDownscaleWeighted() 260 const float centerCoeff = (4.0f / 32.0f); in bloomDownscale() local 269 color += textureLod(sampler2D(tex, sampl), vec2(uv.x, uv.y), 0).xyz * centerCoeff; in bloomDownscale() 273 color += textureLod(sampler2D(tex, sampl), vec2(uv.x, uv.y + ts.y), 0).xyz * centerCoeff; in bloomDownscale() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_blur_common.h | 248 const float centerCoeff = (4.0f / 32.0f); in SoftDownscaleRGB() local 257 color += textureLod(sampler2D(tex, sampl), vec2(uv.x, uv.y), 0).xyz * centerCoeff; in SoftDownscaleRGB() 261 color += textureLod(sampler2D(tex, sampl), vec2(uv.x, uv.y + ts.y), 0).xyz * centerCoeff; in SoftDownscaleRGB() 267 color += textureLod(sampler2D(tex, sampl), vec2(uv.x - ths.x, uv.y - ths.y), 0).xyz * centerCoeff; in SoftDownscaleRGB() 268 color += textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y - ths.y), 0).xyz * centerCoeff; in SoftDownscaleRGB() 269 color += textureLod(sampler2D(tex, sampl), vec2(uv.x - ths.x, uv.y + ths.y), 0).xyz * centerCoeff; in SoftDownscaleRGB() 270 color += textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y + ths.y), 0).xyz * centerCoeff; in SoftDownscaleRGB() 370 const float centerCoeff = (4.0f / 32.0f); //4.0: param, 32.0: param in SoftDownscaleRGBLayer() local 379 color += textureLod(sampler2DArray(tex, sampl), vec3(uv.x, uv.y, dirLayer.z), 0).xyz * centerCoeff; in SoftDownscaleRGBLayer() 383 color += textureLod(sampler2DArray(tex, sampl), vec3(uv.x, uv.y + ts.y, dirLayer.z), 0).xyz * centerCoeff; in SoftDownscaleRGBLayer() [all...] |
Completed in 4 milliseconds