Slightly improve soft shadow performance

Fix warnings