Merge nibu/rtd-cut8-forward-plus into Cut 7+8 integration

This commit is contained in:
Meta Vens 2026-12-05 18:48:43 +01:00
commit fa4e4c9860
21 changed files with 1317 additions and 226 deletions

View file

@ -8,7 +8,7 @@ namespace RustToDust.Client;
/// <summary>
/// Single-draw-call GPU billboard particle pool (<see cref="MultiMeshInstance3D"/> backed by
/// <c>particle_billboard.gdshader</c>) plus the strictly capped <see cref="OmniLight3D"/>[2]
/// dynamic combat flash pool for OpenGL 3.3 (<c>gl_compatibility</c>).
/// dynamic combat flash pool for Forward+ Vulkan.
/// </summary>
public partial class ParticlePool : Node3D
{
@ -135,6 +135,7 @@ public partial class ParticlePool : Node3D
OmniAttenuation = 1.6f,
OmniRange = 14f,
LightEnergy = 0f,
LightVolumetricFogEnergy = 0f,
Visible = false
};
AddChild(light);
@ -144,7 +145,7 @@ public partial class ParticlePool : Node3D
/// <summary>
/// Pre-warms the pooled <see cref="OmniLight3D"/> nodes on startup for 1 rendered frame
/// with near-zero energy so OpenGL 3.3 compiles lit shader variants before combat begins.
/// with near-zero energy so Forward+ compiles lit shader variants before combat begins.
/// </summary>
public void PrewarmFlashLights(Vector3 nearPos, Vector3 forwardHoriz)
{