From 95fda7e881b4009cf7775f36bb9bf0901c2ef6b6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 2 Feb 2021 19:30:55 +0100 Subject: Document that GridMap doesn't support visual layers or cull masks See #40245. --- modules/gridmap/doc_classes/GridMap.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/gridmap/doc_classes/GridMap.xml b/modules/gridmap/doc_classes/GridMap.xml index 4dccb03369..134aadb75e 100644 --- a/modules/gridmap/doc_classes/GridMap.xml +++ b/modules/gridmap/doc_classes/GridMap.xml @@ -8,6 +8,7 @@ GridMaps use a [MeshLibrary] which contains a list of tiles. Each tile is a mesh with materials plus optional collision and navigation shapes. A GridMap contains a collection of cells. Each grid cell refers to a tile in the [MeshLibrary]. All cells in the map have the same dimensions. Internally, a GridMap is split into a sparse collection of octants for efficient rendering and physics processing. Every octant has the same dimensions and can contain several cells. + [b]Note:[/b] GridMap doesn't extend [VisualInstance3D] and therefore can't be hidden or cull masked based on [member VisualInstance3D.layers]. If you make a light not affect the first layer, the whole GridMap won't be lit by the light in question. https://docs.godotengine.org/en/latest/tutorials/3d/using_gridmaps.html -- cgit v1.2.3