Search Issue Tracker
Feature Request
Votes
1
Found in [Package]
10.8.1
12.1.5
13.1.6
14.0.0
Issue ID
SGB-14
Regression
No
Normal from height does not work as expected when used in Shader Graph with skybox materials
How to reproduce:
Open the attached project "Super-Simple-Skybox.zip"
Expected results: Clouds are visible in Skybox
Actual results: Skybox is completely blue
Reproducible with: 10.8.1 (2020.3.30f1), 12.1.5 (2021.2.14f1), 13.1.6 (2022.1.0b10), 14.0.0 (2022.2.0a6)
Could not test with: 7.7.1 (2019.4.36f1) (pink textures after downgrading)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
The shadergraph in question is not setup correctly to be used as a skybox material (note: we dont support skybox as a target) _but_ you can get most of the way there by turning off "cast shadows" as well as marking both front and back rendering for render faces. The NormalFromHeight node further uses world space position as part of derivative calculations, so will not work for a skybox case. Since you are already passing in a cloud texture, passing in a normal texture and calculating alongside the cloud texture should achieve what you are attempting to do. Marking as a feature request to support skybox.