12345678910111213141516 |
- // Do not edit.
- import { ShaderStore } from "../../Engines/shaderStore.js";
- const name = "oitDeclaration";
- const shader = `#ifdef ORDER_INDEPENDENT_TRANSPARENCY
- #extension GL_EXT_draw_buffers : require
- layout(location=0) out vec2 depth;
- layout(location=1) out vec4 frontColor;layout(location=2) out vec4 backColor;
- #define MAX_DEPTH 99999.0
- highp vec4 gl_FragColor;uniform sampler2D oitDepthSampler;uniform sampler2D oitFrontColorSampler;
- #endif
- `;
- // Sideeffect
- ShaderStore.IncludesShadersStore[name] = shader;
- /** @internal */
- export const oitDeclaration = { name, shader };
- //# sourceMappingURL=oitDeclaration.js.map
|