Search Issue Tracker

By Design

Votes

1

Found in [Package]

9.0.0-prev.0

Issue ID

1219507

Regression

No

Mesh created via script (procedural mesh) results in Triplanar shader not projecting on X axis correctly

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open attached project "Test.zip" and scene "Test"
2. Enter Play mode
3. In Game view, observe the spawned cube

Expected result: all three faces have applied normal map with generated shadows
Actual result: the face, where the normal is looking along X axis, either flickers when rotated or is always black

Reproducible with: 2019.3.2f1, 2020.1.0a23 (7.1.8, 7.2.0, 9.0.0)
Could not test with: 2017.4, 2018.4 (shader graph errors in the Console window)

  1. Resolution Note:

    By design: tangents are not generated automatically when calling RecalculateNormals()

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.