Allow compilation of shaders using C++ for linting and IDE support. Related #127983 Pull Request: https://projects.blender.org/blender/blender/pulls/128724
14 lines
317 B
GLSL
14 lines
317 B
GLSL
/* SPDX-FileCopyrightText: 2016-2022 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#include "infos/gpu_shader_3D_image_info.hh"
|
|
|
|
VERTEX_SHADER_CREATE_INFO(gpu_shader_3D_image_common)
|
|
|
|
void main()
|
|
{
|
|
gl_Position = ModelViewProjectionMatrix * vec4(pos.xyz, 1.0f);
|
|
texCoord_interp = texCoord;
|
|
}
|