engine
engine copied to clipboard
Scale slope bias with shadow resolution
Description
As Martin mentioned in #2780, slope bias is generally dependent on shadow resolution, and should be supplied by the user for a specific resolution, which we then adjust to fit the actual resolution used by the shadow map.