PageSourceSearch

https://conquistas-cpjq7vbv.manus.space/assets/color.vertex-D43TpYNa.js

js conquistas-cpjq7vbv.manus.space collected 2026-10-03 05:01:12 UTC 1,420 bytes, 39 lines download raw bytes

1import{u as e}from"./index-DDBsTPp3.js";import{b as r,a as t,c as a,f as d,i as c,d as l,e as s,g as f,h as V,j as x,v as u}from"./vertexColorMixing-BS6VJPP2.js";const o="colorVertexShader",n=`attribute vec3 position;
2#ifdef VERTEXCOLOR
3attribute vec4 color;
4#endif
5#include<bonesDeclaration>
6#include<bakedVertexAnimationDeclaration>
7#include<clipPlaneVertexDeclaration>
8#include<fogVertexDeclaration>
9#ifdef FOG
10uniform mat4 view;
11#endif
12#include<instancesDeclaration>
13uniform mat4 viewProjection;
14#ifdef MULTIVIEW
15uniform mat4 viewProjectionR;
16#endif
17#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
18varying vec4 vColor;
19#endif
20#define CUSTOM_VERTEX_DEFINITIONS
21void main(void) {
22#define CUSTOM_VERTEX_MAIN_BEGIN
23#ifdef VERTEXCOLOR
24vec4 colorUpdated=color;
25#endif
26#include<instancesVertex>
27#include<bonesVertex>
28#include<bakedVertexAnimation>
29vec4 worldPos=finalWorld*vec4(position,1.0);
30#ifdef MULTIVIEW
31if (gl_ViewID_OVR==0u) {gl_Position=viewProjection*worldPos;} else {gl_Position=viewProjectionR*worldPos;}
32#else
33gl_Position=viewProjection*worldPos;
34#endif
35#include<clipPlaneVertex>
36#include<fogVertex>
37#include<vertexColorMixing>
38#define CUSTOM_VERTEX_MAIN_END
39}`;e.ShadersStore[o]||(e.ShadersStore[o]=n);const S=[r,t,a,d,c,l,s,f,V,x,u];for(const i of S)e.IncludesShadersStore[i.name]||(e.IncludesShadersStore[i.name]=i.shader);const m={name:o,shader:n};export{m as colorVertexShader};

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.