Search Issue Tracker
By Design
Votes
1
Found in
5.6.0f3
Issue ID
907459
Regression
No
Shadows instanced by Graphics.DrawMeshInstanced produce artifact when using Trail Renderer
To reproduce:
1. Import Unity package attached by the user
2. Load the scene named "BUG_0_GrassShaderShadowsDisplacement" from the "_Scene" folder
3. Hit play
4. Walk using WSAD keys
Expected: Artifact shouldn't appear for trail renderer. Shadows should be affected by the trail.
Actual: Artifact appears and affects shadows.
Reproduced with : 5.6.2f1, 2017.1.0b10, 2017.2.0a4
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
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Resolution Note:
User setup error, sampling a game camera relative screen mask by using shadow camera relative parameters. The wrong screenmask UV calculation erroneously samples a displacement texture, leading to artifacts in shadow calculations that appear as ghosting on the screen.