Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z Layering Token/Tile/Drawing Maps #75

Open
BardCicero opened this issue Sep 1, 2022 · 2 comments
Open

Z Layering Token/Tile/Drawing Maps #75

BardCicero opened this issue Sep 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@BardCicero
Copy link

I am not sure the Visibility Settings are working as described, as well as an issue with Layering Masks.

I was searching for a way to have Tokens show above the Fog Layer. So I was searching within the Visibility Settings and Visibility Threshold and could not find a way to change those settings to have anything change regarding a player's point of view. Including different variations of Lighting/Token Vision/Fog Exploration/and Reveal Fog"

I also came across this odd issues regarding Overhead Tiles and Drawing:

image

A Tile indicated not Overhead works as far as I believe SimpleFog desires it.
But when you change the tile to an overhead tile it masks the Drawing Layer:
image
Even though it is still below the Fog Layer.

I believe an enhancement may exist related to:
#67 (comment)

Or just allowing an "Overhead Tile" to be visible Above the Fog Layer so users have a way to show images on top of the Fog Image for a variety of use cases.

It seems all of these cases may be related to the Fog's Z Layer though I'm not sure exactly how.

@UranusBytes
Copy link
Collaborator

There is indeed something quirky happening with the fog zindex. I'm trying to work through it now.

As of right now, I've got it to where if you set the SimpleFog zindex to 190, a background tile is rendered below the fog, a foreground tile is rendered above the fog, and drawing is rendered below the fog.

An overhead tile will always render over a drawing, and a background tile below a drawing; that's native foundry behavior.

I'll try to get a patch out soon for further testing...

@UranusBytes UranusBytes added the bug Something isn't working label Sep 3, 2022
@jalspaugh3
Copy link

Also noticing something weird with the Z index. No matter what I set SimpleFog's zindex too, the fog is always over everything -- tokens, shapes, notes, whatever. While moving the slider around I'll notice that certain things will briefly appear on top of the fog, but immediately glitch back underneath.

Looking forward to a potential patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants