Variable BLOOM_VERTEX_SHADERConst
BLOOM_VERTEX_SHADER: "\n out vec2 vUv;\n void main() {\n // Caps-aware uv attribute encodes WebGL2/WebGPU Y-orientation\n // correction. See createFullscreenTriangleGeometry.\n vUv = uv;\n gl_Position = vec4(position.xy, 0.0, 1.0);\n }\n" = ...
Shared fullscreen-triangle vertex shader for all three bloom passes. The host supplies a unit triangle in NDC via the geometry's
positionattribute, which THREE's ShaderMaterial auto-declares — do NOT redeclare it here.