From 99722d1ff1f3c700688d1dfe0b58841594411c61 Mon Sep 17 00:00:00 2001 From: CDM15y Date: Wed, 17 Jul 2024 05:54:41 +0100 Subject: [PATCH] Fix shadowmap.fs also suffers the same problem as pbr.fs --- examples/shaders/resources/shaders/glsl120/shadowmap.fs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/shaders/resources/shaders/glsl120/shadowmap.fs b/examples/shaders/resources/shaders/glsl120/shadowmap.fs index 668fdeb4b..f43e63823 100644 --- a/examples/shaders/resources/shaders/glsl120/shadowmap.fs +++ b/examples/shaders/resources/shaders/glsl120/shadowmap.fs @@ -1,15 +1,13 @@ #version 120 -precision mediump float; - // This shader is based on the basic lighting shader // This only supports one light, which is directional, and it (of course) supports shadows // Input vertex attributes (from vertex shader) -varying in vec3 fragPosition; -varying in vec2 fragTexCoord; +varying vec3 fragPosition; +varying vec2 fragTexCoord; //varying in vec4 fragColor; -varying in vec3 fragNormal; +varying vec3 fragNormal; // Input uniform values uniform sampler2D texture0;