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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment