Home
last modified time | relevance | path

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

/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/common/
H A Dbloom_common.h184 const vec2 ths = ts * 0.5; in bloomDownscaleWeighted() local
186 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x - ths.x, uv.y - ths.y), 0).xyz; in bloomDownscaleWeighted()
191 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y - ths.y), 0).xyz; in bloomDownscaleWeighted()
196 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x - ths.x, uv.y + ths.y), 0).xyz; in bloomDownscaleWeighted()
201 colSample = textureLod(sampler2D(tex, sampl), vec2(uv.x + ths.x, uv.y + ths.y), 0).xyz; in bloomDownscaleWeighted()
216 const vec2 ths in bloomDownscaleWeighted()
277 const vec2 ths = ts * 0.5; bloomDownscale() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/
H A Drender_blur_common.h265 const vec2 ths = ts * 0.5; in SoftDownscaleRGB() local
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()
274 const vec2 ths in SoftDownscaleRGB()
299 const vec2 ths = invTexSize * 0.5; // 0.5: half DownscaleRGBADof() local
332 const vec2 ths = invTexSize * 0.5; // 0.5:half BlurRGBADof() local
387 const vec2 ths = ts * 0.5; SoftDownscaleRGBLayer() local
[all...]

Completed in 3 milliseconds