1import{S as e}from"./index-B2RPBpOK.js";import{c as a,a as t}from"./clipPlaneFragment-DZ8_3NUM.js";import{f as i,a as f}from"./fogFragment-Be4prw0v.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 d=[a,i,t,f];for(const n of d)e.IncludesShadersStoreWGSL[n.name]||(e.IncludesShadersStoreWGSL[n.name]=n.shader);const s={name:r,shader:o};export{s 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.