froyok OP , 23 days ago I tried to use a custom projection matrix with different clip planes to constrain the rendering to the light volume. I even went with masking the depth buffer by the light radius to help discarding triangles/fragments via the depth test. It didn't improve performance, it even made things slower on my old laptop. 😩
I tried to use a custom projection matrix with different clip planes to constrain the rendering to the light volume.
I even went with masking the depth buffer by the light radius to help discarding triangles/fragments via the depth test.
It didn't improve performance, it even made things slower on my old laptop. 😩