diff --git a/libs/video/renderer/vulkan/shader/lighting.frag b/libs/video/renderer/vulkan/shader/lighting.frag index a9e5cb7d2..41ee21629 100644 --- a/libs/video/renderer/vulkan/shader/lighting.frag +++ b/libs/video/renderer/vulkan/shader/lighting.frag @@ -50,7 +50,7 @@ spot_cone (LightData light, vec3 incoming) vec3 dir = light.direction.xyz; float cone = light.direction.w; float spotdot = dot (incoming, dir); - return 1 - smoothstep (cone, cone + 0.02, spotdot); + return 1 - smoothstep (cone, .995 * cone + 0.005, spotdot); } float