PageSourceSearch

https://conquistas-cpjq7vbv.manus.space/assets/color.fragment-aHLPlZBZ.js

js conquistas-cpjq7vbv.manus.space collected 2026-10-03 05:01:11 UTC 995 bytes, 21 lines download raw bytes

1import{u as e}from"./index-DDBsTPp3.js";import{c as a,f as t,a as i,b as d}from"./fogFragment-61nPZ2S5.js";const r="colorPixelShader",o=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
2#define VERTEXCOLOR
3varying vColor: vec4f;
4#else
5uniform color: vec4f;
6#endif
7#include<clipPlaneFragmentDeclaration>
8#include<fogFragmentDeclaration>
9#define CUSTOM_FRAGMENT_DEFINITIONS
10@fragment
11fn main(input: FragmentInputs)->FragmentOutputs {
12#define CUSTOM_FRAGMENT_MAIN_BEGIN
13#include<clipPlaneFragment>
14#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
15fragmentOutputs.color=input.vColor;
16#else
17fragmentOutputs.color=uniforms.color;
18#endif
19#include<fogFragment>(color,fragmentOutputs.color)
20#define CUSTOM_FRAGMENT_MAIN_END
21}`;e.ShadersStoreWGSL[r]||(e.ShadersStoreWGSL[r]=o);const f=[a,t,i,d];for(const n of f)e.IncludesShadersStoreWGSL[n.name]||(e.IncludesShadersStoreWGSL[n.name]=n.shader);const c={name:r,shader:o};export{c as colorPixelShaderWGSL};

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.