Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0a1
Issue ID
988349
Regression
No
[HDRP][Metal] Point and spot lights are incorrectly clipped at certain angles
Steps to reproduce:
1. Open the linked project (or set up a project for HDRP usage from https://github.com/Unity-Technologies/ScriptableRenderPipeline)
2. Make sure Metal Support for editor is enabled
3. Open 'BasicProfiling' scene
4. Navigate to one of the planes that are lit up using point or spot lights
5. Look at those planes from various angles in scene or game view
6. Notice the lights are clipped too early (see screenshot)
Same happens if you build that scene with Metal graphics API.
Workaround:
Modify an if statement structure at line 277 in Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/scrbound.compute from
if(g_isOrthographic==0 && length(center)>radius)
{
}
to
if(g_isOrthographic==0)
{
if(length(center)>radius)
{
}
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment