You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we set a cull layer to a decal, and update meshes to different layers, these changes are not updated to the decal. We need to "reset" the decal cull layer by clearing all its cull layers and assign it again in the editor for the changes to take effect. In the videos, a decal with a cull layer = 1 shows in a mesh instance at layer 3. We need to reset decal layers for the culling to work.
Set a decal and some meshes. Change the meshes layers. This change will not show in the editor nor in the game. Now reset decal layer by empty its cull layer and then choosing a new one. Now changes are visible and decal will cull properly.
The text was updated successfully, but these errors were encountered:
jcarlosrc
changed the title
Vulkan Mobile: decal cull layers do not sync to visual layers of meshes automatically.
Vulkan Mobile: decal cull layers do not sync to changes on visual layers of meshes.
Feb 21, 2023
This should be a quick fix. When the VisualInstance3D layer is set we need to flag that the mesh needs to be paired again. We do something similar with lights already:
Godot version
4.0 RC3
System information
Ubuntu 22.04
Issue description
If we set a cull layer to a decal, and update meshes to different layers, these changes are not updated to the decal. We need to "reset" the decal cull layer by clearing all its cull layers and assign it again in the editor for the changes to take effect. In the videos, a decal with a cull layer = 1 shows in a mesh instance at layer 3. We need to reset decal layers for the culling to work.
screen_recorder-2023-02-21_15.28.42.mp4
screen_recorder-2023-02-21_15.35.38.mp4
Steps to reproduce
Set a decal and some meshes. Change the meshes layers. This change will not show in the editor nor in the game. Now reset decal layer by empty its cull layer and then choosing a new one. Now changes are visible and decal will cull properly.
Minimal reproduction project
mobile_decal_cull_layer_bug.zip
The text was updated successfully, but these errors were encountered: