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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment