View Full Version : Door Corner Casts Shadow
Griogre
June 8th, 2024, 23:33
I was surprised to find the corner (rectangle) of door casts a shadow when I was messing around with LOS on a sample map in a Dev campaign. I'm not sure if that is a bug or not - I though doors were supposed to be transparent.
I've attached a screenshot of the corners of a door closest to the war priest token casting a shadow and zipped up the campaign.
Laerun
June 9th, 2024, 01:22
I was surprised to find the corner (rectangle) of door casts a shadow when I was messing around with LOS on a sample map in a Dev campaign. I'm not sure if that is a bug or not - I though doors were supposed to be transparent.
I've attached a screenshot of the corners of a door closest to the war priest token casting a shadow and zipped up the campaign.
The door does not look like it's created properly, meaning that it's not following the best practices in regards to doorways and LoS occluders. Review the placement of your walls, doors, and other ocmuder types. Make sure you have intersections of points and not overlapping lines or shapes.
The LoS style guide sort of goes over the best practices.
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996640584/Map+Line+of+Sight+Style+Guide
jharp
June 9th, 2024, 02:19
No matter how careful you are at creating LoS you can have issues with incorrect FoW. Try moving a point or two and see if that helps.
This is really an ongoing issue with FoW and Smiteworks knows there are issues to fix but haven't really found the root cause yet.
Jason
Laerun
June 9th, 2024, 02:44
No matter how careful you are at creating LoS you can have issues with incorrect FoW. Try moving a point or two and see if that helps.
This is really an ongoing issue with FoW and Smiteworks knows there are issues to fix but haven't really found the root cause yet.
Jason
Indeed, weird stuff happens.
LordEntrails
June 9th, 2024, 02:47
It looks to me like it is calculating correctly. In effect, You can see into a door by seeing through one line of a door. But you can't see through a door by seeing past two lines of a door. Same as with terrain. It's not really the vertex that is causing the shadow, but the perpendicular edge of the door.
To change this behavior would mean that FG would have to allow you to see through two edges if and only if they were adjacent. But then you have problems when a door is used that is not a quadrilateral (4 sided) and in other edge cases (such as where the wall is a single line, like in your example).
I believe now doors can now be drawn as single lines and no longer need to be closed polygons. Test that, and if so, then you can just draw a single line for the door and you won't have this issue.
LordEntrails
June 9th, 2024, 02:51
Note, you also don't need to (and probably should not due to performance) have the windows (yellow lines) so that your players can see the map wall followed by the solid wall (red line) to block further vision. You can now set the Peek Thru so that walls can be seem through to a certain distance and achieve the same goal as you complex design that takes a lot of time to create, and lots of CPU power to calculate.
Griogre
June 9th, 2024, 04:32
I'm was playing around and I just thought it was weird about the door. Not sure if it was a bug or not but thought it might be because of a weird interaction with the window and door. It happens on all doors on this map not just this one.
It doesn't bother me one way or another. Honestly, it makes the doors "pop" and show better really.
Griogre
June 9th, 2024, 04:38
@Lord Entrails good point on the peek through on this map. I was playing around with this after I was messing with the Black Isle maps with that really exaggerated 3D look.
Zacchaeus
June 9th, 2024, 08:40
Doors, as you have drawn them, will cast a shadow and this is expected behaviour. As of a patch or two ago, doors no longer need to be closed polygons; they can be single straight lines.
Griogre
June 10th, 2024, 04:48
Thanks Zacchaeus, good do know. Do peek settings work with a single line door as well?
Zacchaeus
June 10th, 2024, 09:27
Thanks Zacchaeus, good do know. Do peek settings work with a single line door as well?
It would appear so, yes.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.