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

Progressive Lightmapper

-

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

  1. 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.

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.