Updated shaders pack

Some deep review of this shaders is required for optimization...
This commit is contained in:
raysan5
2016-07-19 10:57:35 +02:00
parent 76c9e9883d
commit 61558ab83f
25 changed files with 59 additions and 58 deletions

View File

@ -6,20 +6,23 @@ in vec4 fragColor;
// Input uniform values
uniform sampler2D texture0;
uniform vec4 fragTintColor;
uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Render size values must be passed from code
const float renderWidth = 800;
const float renderHeight = 450;
float offset = 0.0;
float frequency = 720.0/3.0;
uniform float time;
void main()
{
float frequency = renderHeight/3.0;
/*
// Scanlines method 1
float tval = 0; //time