Is it ok to calculate differences for every shadow light type as vec3s or it’s better to use if statements?
I’m implementing shadows in my game but I also want my shader to be as general as possible.
I’m implementing shadows in my game but I also want my shader to be as general as possible.