fix(render3d): a leaf is not matte
Foliage roughness was pinned to 1.0 and grazing Fresnel switched off, so nothing green in the game had a highlight anywhere. The glint off waxy leaves and wet needles is most of what makes a stand look alive rather than painted. The reason it was off is real: a crown is card quads, and at a grazing angle the card's normal is a lie, so a specular lobe frosted whole crowns white against the sky. The sheen returns as its own term gated on exactly that - it fades as the card turns edge-on, which is where its normal stops meaning anything. A tight lobe for the glint, a weak wide one for the waxy rim, nothing at the angles that frosted. Translucency reaches 260 m rather than 140, and a dense crown passes 0.45 of it rather than 0.3, so a backlit stand glows for as far as you can see it. 400 frames: GL 7.1 s, VK 7.4 s. Backends agree to 0.14/255. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
b22f65f598
commit
182cbf3cc3
10 changed files with 54 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue