Improved shaders_postprocessing example
This commit is contained in:
parent
c9d6b7e356
commit
65e6a6db53
1 changed files with 29214 additions and 26979 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue