From 61558ab83faa52e738b264ea85fe34448651ba87 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 19 Jul 2016 10:57:35 +0200 Subject: Updated shaders pack Some deep review of this shaders is required for optimization... --- shaders/glsl100/cross_stitching.fs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'shaders/glsl100/cross_stitching.fs') diff --git a/shaders/glsl100/cross_stitching.fs b/shaders/glsl100/cross_stitching.fs index 6fabc027..67639a55 100644 --- a/shaders/glsl100/cross_stitching.fs +++ b/shaders/glsl100/cross_stitching.fs @@ -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; float stitchingSize = 6.0f; -- cgit v1.2.3