5#include "screen.vert.h"
20 SCREEN_VERT,
sizeof(SCREEN_VERT),
21 FXAA_FRAG,
sizeof(FXAA_FRAG));
41 mShaderProgram->setVec2(
"InvTexSize", { 1.f / width, 1.f / height });
float SubpixelContrastThreshold
float HardContrastThreshold
bool UseHighQualityEndpoints
void apply(int width, int height)
float RelativeContrastThreshold
int EndpointSearchIterations
static Mesh * ScreenQuad()
static Program * createProgramSPIRV(const void *vs, size_t vs_len, const void *fs, size_t fs_len, const void *gs=0, size_t gs_len=0)
This is an implementation of AdditiveCCD based on peridyno.