mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-25 16:23:46 +02:00
31 lines
489 B
C
31 lines
489 B
C
#include <portablegl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct BlurVUniforms
|
|
{
|
|
pgl_mat4 projMat;
|
|
pgl_vec2 texSizeInv;
|
|
GLuint texture;
|
|
};
|
|
|
|
struct BlurVAttribs
|
|
{
|
|
pgl_vec2 position;
|
|
pgl_vec2 texCoord;
|
|
};
|
|
|
|
struct BlurVVarying
|
|
{
|
|
pgl_vec2 v_texCoord;
|
|
pgl_vec2 v_blurCoord[2];
|
|
};
|
|
|
|
void mkxpBlurVVS(float *output, pgl_vec4 *attribs, Shader_Builtins *builtins, void *uniforms);
|
|
void mkxpBlurVFS(float *input, Shader_Builtins *builtins, void *uniforms);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|