Controlled tokens without light are rendered in the interface layer.
Environment Details
Please share the following basic details about your setup.
- Foundry VTT Version: 10.291
- SWADE System Version: 2.1.7
- Operating System: Win10
- How Are You Using Foundry: Chromium
- Modules Enabled?: no
- Have you tried reproducing the issue without any modules enabled?: yes
Issue Description
As dev7355608 said here:
The SWADE system renders the controlled token without lighting in the interface layer.
This causes tokens with vision to be shown above overhead tiles instead of below as intended.
Possible Solution and/or Root Cause
dev7355608 continued here
This thing: https://gitlab.com/peginc/swade/-/blob/develop/src/module/hooks/SwadeCoreHooks.ts#L1252 If the occlusion mode is anything other than None, it's fine if rendered in the interface layer. But None is a problem