12345678910111213141516171819 |
- // Do not edit.
- import { ShaderStore } from "../../Engines/shaderStore.js";
- const name = "prePassDeclaration";
- const shader = `#ifdef PREPASS
- #extension GL_EXT_draw_buffers : require
- layout(location=0) out highp vec4 glFragData[{X}];highp vec4 gl_FragColor;
- #ifdef PREPASS_DEPTH
- varying highp vec3 vViewPos;
- #endif
- #ifdef PREPASS_VELOCITY
- varying highp vec4 vCurrentPosition;varying highp vec4 vPreviousPosition;
- #endif
- #endif
- `;
- // Sideeffect
- ShaderStore.IncludesShadersStore[name] = shader;
- /** @internal */
- export const prePassDeclaration = { name, shader };
- //# sourceMappingURL=prePassDeclaration.js.map
|