Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
9.0.0-preview.14
Issue ID
1243806
Regression
No
The GameObject is not lit by Directional Light which is directed to it when using Text Mesh component with custom shader
How to reproduce:
1. Open the attached project "case_1243806-TextMeshShaders"
2. Open the scene "SampleScene"
3. Enter the Play Mode
4. Observe the Game view
Expected results: the GameObject "TextMesh with Lit shader (1) (bug)" is lighted by the Directional light when it is directed to it
Actual results: the GameObject "TextMesh with Lit shader (1) (bug)" is not lighted by the Directional light even though it is directed to it
Reproducible with: 9.0.0-preview.14 (2019.3.16f1, 2019.4.2f1, 2020.1.0b15, 2020.2.0a16)
Could not test with: 2018.4.24f1 because Shader Graph package is not available
Notes:
1. It is not reproducible with built-in shaders because they are unlit and two-sided
2. The workaround is to flip the normals of the custom shader (using Negate node in the Shader Graph)
3. It is only reproducible when using the Text Mesh component
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
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
Resolution Note:
Text Mesh is deprecated. SRP support for 3D Text will come with Text Mesh Pro.