Tree shadows ignore leaf alpha: solid boxy shadow instead of foliage shape #16

Closed
opened 2026-11-18 11:16:04 +00:00 by vekien · 1 comment

Version: 2026.11.17-09b0d15 (Windows/amd64)
Server: server.catseyexi.com (Native loader)
Location: Southern San d'Oria (zone 230), near Lion Square (L-7)
System: NVIDIA GeForce RTX 5070 Ti Laptop GPU (driver 32.0.16.1692), D3D12 backend.
Graphics config: shadows Medium (world 4096², actor 2048², 3x3 taps), MSAA 4x, AO Medium, bump 100%.

Description

Tree shadows are drawn from the tree's full card/mesh geometry and ignore the leaf texture's alpha. Instead of a dappled, leafy shadow with gaps between branches and leaves, every tree casts a solid, boxy blob made of the shapes of its leaf quads (circled in the screenshot: the tree to the right of the player casts a hard, solid polygon shape across the plaza).

Expected

The shadow pass should alpha-test (or alpha-to-coverage) foliage using the same texture and cutoff as the main pass, so only the opaque leaf pixels cast shadows. Most likely the shadow-map depth pass for world geometry renders without sampling the diffuse texture alpha / without the discard used for alpha-tested materials. The same probably applies to anything else alpha-tested: fences, grates, hanging cloth, grass cards.

Steps to reproduce

  1. Enable shadows (Medium).
  2. Go to Southern San d'Oria near Lion Square (or any zone with trees) in daylight.
  3. Look at a tree's shadow on the ground. It's a solid geometric shape instead of a leafy one.

Log

[shadow] quality Medium: world 4096^2 (+-180y), actor 2048^2 (+-24y), 3x3 taps
[zone] 230 loaded: 2835 batches, 106462 collision tris (1607 ms)
[session] world ready: 'Premium' race 1 Lv16 zone 230

Screenshot

tree-shadow

**Version:** 2026.11.17-09b0d15 (Windows/amd64) **Server:** server.catseyexi.com (Native loader) **Location:** Southern San d'Oria (zone 230), near Lion Square (L-7) **System:** NVIDIA GeForce RTX 5070 Ti Laptop GPU (driver 32.0.16.1692), D3D12 backend. **Graphics config:** shadows Medium (world 4096², actor 2048², 3x3 taps), MSAA 4x, AO Medium, bump 100%. ### Description Tree shadows are drawn from the tree's full card/mesh geometry and ignore the leaf texture's alpha. Instead of a dappled, leafy shadow with gaps between branches and leaves, every tree casts a solid, boxy blob made of the shapes of its leaf quads (circled in the screenshot: the tree to the right of the player casts a hard, solid polygon shape across the plaza). ### Expected The shadow pass should alpha-test (or alpha-to-coverage) foliage using the same texture and cutoff as the main pass, so only the opaque leaf pixels cast shadows. Most likely the shadow-map depth pass for world geometry renders without sampling the diffuse texture alpha / without the `discard` used for alpha-tested materials. The same probably applies to anything else alpha-tested: fences, grates, hanging cloth, grass cards. ### Steps to reproduce 1. Enable shadows (Medium). 2. Go to Southern San d'Oria near Lion Square (or any zone with trees) in daylight. 3. Look at a tree's shadow on the ground. It's a solid geometric shape instead of a leafy one. ### Log ``` [shadow] quality Medium: world 4096^2 (+-180y), actor 2048^2 (+-24y), 3x3 taps [zone] 230 loaded: 2835 batches, 106462 collision tris (1607 ms) [session] world ready: 'Premium' race 1 Lv16 zone 230 ``` ### Screenshot ![tree-shadow](/attachments/519511d9-dfa8-4300-b2d9-82c326e5993b)
Owner
Fixed in https://git.bangplays.games/Banggugyangu/Zantetsuken-Releases/releases/tag/11_18_01
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Banggugyangu/Zantetsuken-Releases#16
No description provided.