Hi Team
(This is just my suggestion, Team can skip it if it’s not really necessary)
In the Point Lights and Spotlights section. I noticed that when I zoom out, the size of the point (Lights) is now bigger than the sphere.
My suggestion is to resize point this depending on the distance when user scrolling
Step 1: In Common.h add pointSize property to Uniform structure:
Step 2: In Renderer.swift, I took the distance property and put it in Uniform
Step 3: And finally in the DebugLights.metal → vertex_debug() I change it to .point_size = 100/ uniforms.pointSize
Step 4: Then build and run, it fixed the above problem
(Again this is just my suggestion, Team can skip it if it’s not really necessary)
Thanks for reading