galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
PostProcess.cpp File Reference
#include "PostProcess.hpp"
+ Include dependency graph for PostProcess.cpp:

Go to the source code of this file.

Namespaces

namespace  galaxy
 Animated.cpp galaxy.
 
namespace  galaxy::graphics
 

Variables

constexpr const auto vao_vert
 PostProcess.cpp galaxy.
 
constexpr const auto vao_frag
 Plain VAO fragment shader.
 

Variable Documentation

◆ vao_vert

const auto vao_vert
constexpr
Initial value:
= R"(
#version 460 core
layout (location = 0) in vec2 l_pos;
layout (location = 1) in vec2 l_texels;
out vec2 io_texels;
void main()
{
io_texels = l_texels;
gl_Position = vec4(l_pos, 0.0, 1.0);
}
)"

PostProcess.cpp galaxy.

Refer to LICENSE.txt for more details. Plain VAO vertex shader.

Definition at line 13 of file PostProcess.cpp.

◆ vao_frag

const auto vao_frag
constexpr
Initial value:
= R"(
#version 460 core
in vec2 io_texels;
out vec4 io_frag_colour;
uniform sampler2D u_texture;
void main()
{
io_frag_colour = texture(u_texture, io_texels);
}
)"

Plain VAO fragment shader.

Definition at line 31 of file PostProcess.cpp.