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
- The text below Orientation Gizmo does not change when the Scene viewing direction changes
- CPU is overused and the usage cannot be limited for Runtime when the Editor is not rendering anything
- Recorder Texture Sampling does not record Canvas images correctly when the Camera projection is Orthographic
- [HDRP] HDAdditionalLightData.RequestSubShadowMapRendering on directional lights breaks cascade shadows rendering
- Memory leaks when Instantiating Objects with SerializeReference
Add comment