sampleGradient(sampler,uv,dds,ddy)

vsm里面用这个梯度采样 采放了z,z*z的shadowmap

这种采样方式和普通sample有什么区别

原文地址:https://www.cnblogs.com/minggoddess/p/5442613.html