123456789101112131415161718192021222324252627282930313233 |
- // Do not edit.
- import { ShaderStore } from "../../Engines/shaderStore.js";
- const name = "samplerVertexImplementation";
- const shader = `#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
- if (v_INFONAME_==0.)
- {v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uvUpdated,1.0,0.0));}
- #ifdef UV2
- else if (v_INFONAME_==1.)
- {v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv2,1.0,0.0));}
- #endif
- #ifdef UV3
- else if (v_INFONAME_==2.)
- {v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv3,1.0,0.0));}
- #endif
- #ifdef UV4
- else if (v_INFONAME_==3.)
- {v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv4,1.0,0.0));}
- #endif
- #ifdef UV5
- else if (v_INFONAME_==4.)
- {v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv5,1.0,0.0));}
- #endif
- #ifdef UV6
- else if (v_INFONAME_==5.)
- {v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv6,1.0,0.0));}
- #endif
- #endif
- `;
- // Sideeffect
- ShaderStore.IncludesShadersStore[name] = shader;
- /** @internal */
- export const samplerVertexImplementation = { name, shader };
- //# sourceMappingURL=samplerVertexImplementation.js.map
|