Updated shaders pack
Some deep review of this shaders is required for optimization...
This commit is contained in:
parent
76c9e9883d
commit
61558ab83f
1 changed files with 59 additions and 58 deletions
|
|
@ -8,12 +8,13 @@ varying vec4 fragColor;
|
|||
|
||||
// Input uniform values
|
||||
uniform sampler2D texture0;
|
||||
uniform vec4 fragTintColor;
|
||||
uniform vec4 colDiffuse;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
const float renderWidth = 1280;
|
||||
const float renderHeight = 720;
|
||||
// NOTE: Render size values must be passed from code
|
||||
const float renderWidth = 800;
|
||||
const float renderHeight = 450;
|
||||
|
||||
uniform float pixelWidth = 5.0f;
|
||||
uniform float pixelHeight = 5.0f;
|
||||
|
|
|
|||
Loading…
Reference in a new issue