/*
--------------------------------------------------------------------------------

  Photon Shader by SixthSurge

  program/d2_clouds_upscaling:
  Temporal upscaling for clouds
  Create combined depth buffer (DH)

--------------------------------------------------------------------------------
*/

#include "/include/global.glsl"

out vec2 uv;

void main() {
    uv = gl_MultiTexCoord0.xy;

    vec2 vertex_pos = gl_Vertex.xy * taau_render_scale;
    gl_Position = vec4(vertex_pos * 2.0 - 1.0, 0.0, 1.0);
}
