Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

428 B
Raw Blame
static const char vertex_fragment_shader_glsl[] = {
R"<!>(#[versions]

lines = "#define MODE_LINES";

#[vertex]

#version 450

#VERSION_DEFINES

layout(location = 0) out vec3 uv_interp;

void main() {
#ifdef MODE_LINES
	uv_interp = vec3(0, 0, 1);
#endif
}

#[fragment]

#version 450

#VERSION_DEFINES

#define M_PI 3.14159265359

layout(location = 0) out vec4 dst_color;

void main() {
	dst_color = vec4(1, 1, 0, 0);
}
)<!>"
};