From 67f797240d7b775dd3011cee4dbcde5d2fac7c68 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 6 May 2018 21:28:31 +0700 Subject: [PATCH] Shader noise returns 0.5 when noise emulation disabled. Fixed Paper Mario - Text from Stars is invisible #1540 --- src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp b/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp index 7bc36061..121788fd 100644 --- a/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp +++ b/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp @@ -1439,7 +1439,7 @@ public: m_part = "lowp float snoise() \n" "{ \n" - " return 1.0; \n" + " return 0.5; \n" "} \n" ; } else {