Skip to content

Conversation

@ghostsoft
Copy link

Exposes extra cull margin parameters similar to GeometryInstance3D to allow modifying the cull margin. This fixes #105063 in the Compatibility and Mobile renderers by letting the user account for the effect of vertices being lit outside of the light's radius (due to vertex interpolation).

This functionality is already in the base VisualInstance3D class and only needs to be exposed to be of use.

Exposes parameters similar to GeometryInstance3D to allow modifying the cull margin.
@ghostsoft
Copy link
Author

I have no clue why this is somehow failing the doc check on Linux / Editor w / Mono. Do the members have to be in alphabetical order perhaps?

@Calinou
Copy link
Member

Calinou commented Oct 28, 2025

I have no clue why this is somehow failing the doc check on Linux / Editor w / Mono. Do the members have to be in alphabetical order perhaps?

The CI failure is due to incorrect indentation (use 2 tab characters instead of 8 spaces).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vertex lights are wrongly culled

3 participants