uvVariableDeclaration.js 432 B

123456789101112131415
  1. // Do not edit.
  2. import { ShaderStore } from "../../Engines/shaderStore.js";
  3. const name = "uvVariableDeclaration";
  4. const shader = `#if !defined(UV{X}) && defined(MAINUV{X})
  5. vec2 uv{X}=vec2(0.,0.);
  6. #endif
  7. #ifdef MAINUV{X}
  8. vMainUV{X}=uv{X};
  9. #endif
  10. `;
  11. // Sideeffect
  12. ShaderStore.IncludesShadersStore[name] = shader;
  13. /** @internal */
  14. export const uvVariableDeclaration = { name, shader };
  15. //# sourceMappingURL=uvVariableDeclaration.js.map