Light and shadow information inherited by a translucent material at spawn remains constant and does not take into account the particle's orientation
Unity: Visual Effects
VFX Graph
Won't Fix
2023.2.X
2023.1.X
2022.2.X
2021.3.X
How to reproduce:
Import the attached package to HDRP project
Open 'Scene' scene
[Optional] To understand this bizarre behavior, in Hierarchy, select NEW > ShadowCaster and turn on/turn off Cast Shadows in Lighting dropdown and pan Scene View camera around
Open Game View
Observe that lighting information received at spawn time sticks with the particle thus areas that should be shadowed looks lit and vice versa. When orientation changes and we pan camera around I'd expect light/shadow information to be updated accordingly.
Notes:
See attachments for visuals
I've shared Slack conversation in the comment section, it contains a good comparison of particles vs plane from Julien. The bug was initially found in FPSSample.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?