From 3b7a23bde4a44d77575de7b796e56940e84e8202 Mon Sep 17 00:00:00 2001 From: Moony Date: Mon, 14 Aug 2023 03:04:07 -0500 Subject: [PATCH] Update paperstamp.swsl (#19114) blorg --- Resources/Textures/Shaders/paperstamp.swsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Textures/Shaders/paperstamp.swsl b/Resources/Textures/Shaders/paperstamp.swsl index 83641def4e..1f2349970f 100644 --- a/Resources/Textures/Shaders/paperstamp.swsl +++ b/Resources/Textures/Shaders/paperstamp.swsl @@ -45,7 +45,7 @@ void fragment() { // Add a bit of noise to mimic imperfect contact with the paper { - float stampNoise = noise((FRAGCOORD.xy - objCoord) * vec2(0.03, 0.03)) * + highp float stampNoise = noise((FRAGCOORD.xy - objCoord) * vec2(0.03, 0.03)) * noise((FRAGCOORD.xy - objCoord) * vec2(0.08, 0.08)); COLOR.a *= min(0.9, 0.4 + smoothstep(0.05, 0.3, stampNoise)); }