Search Issue Tracker

Won't Fix

Votes

0

Found in

2023.1.0a1

2023.2.0a1

2023.3.0a3

Issue ID

UUM-6209

Regression

No

[Terrain] HDRP TerrainLit material breaks baked lightmap Scene View mode

-

Repro:

Download the attached repro project: here
Open the Scene "TerrainSceneViewBug"
From (Windows > Rendering > Lighting) click Generate Lighting to update lightmaps
Click the Terrain GameObject in the Hierarchy
From the Terrain's Inspector, select the "cog with mountain" icon to see the terrain settings
Note that the Legacy Terrain material is assigned
From the Scene View modes menu, change to "Baked Lightmaps"  
You may need to change the Lightmap Exposure (bottom right on Scene view) and deselect the terrain to see the lightmaps correctly
Observe that the checkerboard overlay appears as expected and the lighting is correctly mapped to the terrain object
Navigating back to the Terrain GameObject, from Terrain Settings, now assign the material "DefaultHDTerrainMaterial"

Observed:

See that the UVs for the terrain lightmaps appear to be scaled/offset incorrectly when using the HDRP Terrain material

Expected:

HDRP/TerrainLit should use the same UV coordinates as the legacy terrain shader. This issue makes debugging baked terrain lighting almost impossible.

  1. Resolution Note:

    Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues.
    We acknowledge that the current Terrain system has a number of limitations, so we are currently investing in a large amount of discovery work to determine exactly what is needed most and how we can bring it to you at the quality level you have come to expect and address the most pervasive pain points in the most effective and efficient manner. However, we know each case is different, so please do continue to log any issues you find, and provide general feedback on our roadmap page to help us prioritize.
    Forum to discuss feature requests: https://forum.unity.com/threads/world-building-public-roadmap-and-feature-requests.1437163/
    Roadmap: https://unity.com/roadmap/unity-platform/3d-world-building

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.