1import{p as e}from"./fileTools.pure-O3hflNMy.js";import{s as i,t as a,u as d,w as l}from"./tier3-babylon-z6xMXPxH.js";import"./index-DY6XcbtQ.js";import"./smartArray-B7wVGkJ5.js";import"./tools.pure-PAKPbutq.js";import"./thinEngine-DI9LWTqR.js";import"./helperFunctions-D7-zXdUR.js";const r="colorPixelShader",n=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES) 2#define VERTEXCOLOR 3varying vec4 vColor; 4#else 5uniform vec4 color; 6#endif 7#include<clipPlaneFragmentDeclaration> 8#include<fogFragmentDeclaration> 9#define CUSTOM_FRAGMENT_DEFINITIONS 10void main(void) { 11#define CUSTOM_FRAGMENT_MAIN_BEGIN 12#include<clipPlaneFragment> 13#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES) 14gl_FragColor=vColor; 15#else 16gl_FragColor=color; 17#endif 18#include<fogFragment>(color,gl_FragColor) 19#define CUSTOM_FRAGMENT_MAIN_END 20}`;e.ShadersStore[r]||(e.ShadersStore[r]=n);const t=[i,a,d,l];for(const o of t)e.IncludesShadersStore[o.name]||(e.IncludesShadersStore[o.name]=o.shader);const N={name:r,shader:n};export{N as colorPixelShader};
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.