PageSourceSearch

https://balloon99-kj7qgchv.manus.space/assets/extractHighlights.fragment-Cr8yCBxw.js

js balloon99-kj7qgchv.manus.space collected 2026-10-03 05:01:48 UTC 912 bytes, 5 lines download raw bytes

1import{p as e}from"./fileTools.pure-O3hflNMy.js";import{h as o}from"./helperFunctions-B6Ks6Htg.js";const t="extractHighlightsPixelShader",a=`#include<helperFunctions>
2varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;uniform threshold: f32;uniform exposure: f32;
3#define CUSTOM_FRAGMENT_DEFINITIONS
4@fragment
5fn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,input.vUV);var luma: f32=dot(LuminanceEncodeApprox,fragmentOutputs.color.rgb*uniforms.exposure);fragmentOutputs.color=vec4f(step(uniforms.threshold,luma)*fragmentOutputs.color.rgb,fragmentOutputs.color.a);}`;e.ShadersStoreWGSL[t]||(e.ShadersStoreWGSL[t]=a);const n=[o];for(const r of n)e.IncludesShadersStoreWGSL[r.name]||(e.IncludesShadersStoreWGSL[r.name]=r.shader);const m={name:t,shader:a};export{m as extractHighlightsPixelShaderWGSL};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.