Improved shaders_postprocessing example

This commit is contained in:
Ray 2017-05-16 00:14:14 +02:00
commit 65e6a6db53

View file

@ -13,12 +13,11 @@ uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
// NOTE: Render size values must be passed from code
const float renderWidth = 800;
const float renderHeight = 450;
const float renderWidth = 800.0;
const float renderHeight = 450.0;
float stitchingSize = 6.0f;
uniform int invert = 0;
float stitchingSize = 6.0;
int invert = 0;
vec4 PostFX(sampler2D tex, vec2 uv)
{