Files
test2/source/blender/gpu/shaders/gpu_shader_2D_image_vert.glsl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
325 B
Plaintext
Raw Normal View History

/* SPDX-FileCopyrightText: 2016-2022 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#include "infos/gpu_shader_2D_image_infos.hh"
VERTEX_SHADER_CREATE_INFO(gpu_shader_2D_image_common)
void main()
{
gl_Position = ModelViewProjectionMatrix * float4(pos.xy, 0.0f, 1.0f);
2017-04-09 16:34:15 +10:00
texCoord_interp = texCoord;
}