Skip to content

implement vanilla entity shadow rendering and settings toggle - #687

Merged
Purdze merged 6 commits into
PommeMC:masterfrom
lazy-importer:feat/entity-shadow-rendering
Oct 20, 2026
Merged

Purdze merged 6 commits into
PommeMC:masterfrom
lazy-importer:feat/entity-shadow-rendering

Conversation

@lazy-importer

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor / code cleanup
  • Performance improvement
  • Chore / tooling
  • Documentation

Summary

  • Implement vanilla entity shadow rendering pipeline matching ShadowFeatureRenderer and EntityRenderer.
  • Project circular shadow geometry onto solid block top surfaces below entities with light-level scaling and height falloff.
  • Set shadow parameters per entity kind matching vanilla defaults (living mobs, players 0.5/1.0, items 0.15/0.75, baby scale 0.5).
  • Enable and wire the "Entity Shadows: ON/OFF" video option with persistence in options.json.

Reference

  • EntityRenderer.java, ShadowFeatureRenderer.java
  • minecraft/textures/misc/shadow.png

Testing

  • Unit tests: passed 4 new tests in entity_shadow::tests, 760 client unit tests, 2 singleplayer tests.
  • just client-pre-pr: all formatting, clippy checks, release builds, and tests passed.

Closes #55

@github-actions github-actions Bot added bug Something isn't working enhancement New feature or request labels Oct 13, 2026
@github-actions github-actions Bot added the merge conflict Conflicts with the base branch and needs a merge label Oct 13, 2026
@github-actions github-actions Bot removed the merge conflict Conflicts with the base branch and needs a merge label Oct 16, 2026
@Purdze
Purdze merged commit b011533 into PommeMC:master Oct 20, 2026
12 checks passed
ChronosWS added a commit to ChronosWS/PommeClient that referenced this pull request Oct 20, 2026
Merge c7bfcf2 without rewriting PR692 ancestry. Pass live key bindings to the entity-shadow settings handler added by PommeMC#687, and cover saved bindings while toggling shadows.
@Purdze Purdze mentioned this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement entity shadow rendering

2 participants