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

GridMap is visible only on the first cull_mask layer #40245

Open
tropical32 opened this issue Jul 9, 2020 · 7 comments
Open

GridMap is visible only on the first cull_mask layer #40245

tropical32 opened this issue Jul 9, 2020 · 7 comments

Comments

@tropical32
Copy link

tropical32 commented Jul 9, 2020

Godot version:
Godot Engine v3.2.2.stable.custom_build

OS/device including version:
5.7.0-3-MANJARO, OpenGL ES 3.0 Renderer: GeForce GTX 1050 Ti/PCIe/SSE2

Issue description:
GridMap is only visible on the first Camera's cull_mask layer. Once the first bit of the camera's cull_mask is disabled the entire grid disappears. Since it's not extending VisualInstance wouldn't it make more sense to not react to cull_mask layers?

Steps to reproduce:

  1. Launch the project below
  2. Press the checkbox to toggle camera's first cull_mask bit

Minimal reproduction project:

gridmap-cull-master.zip

@tropical32 tropical32 changed the title GridMap is visible only on the first layer GridMap is visible only on the first cull_mask layer Jul 9, 2020
@giabeni
Copy link

giabeni commented Jan 21, 2021

Up! Lost some time trying to figure it out what's was I doing wrong...

@jamesdkay
Copy link

jamesdkay commented Feb 2, 2021

I also spent some time trying to figure out what was going on here. I need the ability to have some lights affect certain GridMaps but not others, but this issue also prevents you from using light cull masks with GridMaps. Does anyone know if this issue is related to #41374 or if the solution to that issue might resolve this one too?

@4CoDev
Copy link

4CoDev commented Jul 2, 2022

I wanted to use different layers for different cameras to overlay the interior of a building on its exterior while maintaining the lighting, but it turns out this is not possible with gridmap :(

@escapade-games
Copy link

escapade-games commented Sep 16, 2022

I have created a proposal that could potentially solve this bug, link is at godotengine/godot-proposals#5438.

@CodeSmith32

This comment was marked as off-topic.

@RobTheFiveNine

This comment was marked as off-topic.

@AThousandShips
Copy link
Member

@CodeSmith32 @RobTheFiveNine Please don't bump without contributing significant new information. Use the 👍 reaction button on the first post instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants