Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Shadow acne with PointLightShadowFilter

Open
#2,866 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java

Research direction

Start by comparing PointLightShadowFilter with PointLightShadowRenderer, then investigate how the filter handles receiving geometry near the light source. Reproduce the reported shadow acne with geometry close to the point light and the camera farther away, and verify that the filter no longer shows the artifact without introducing the peter-panning behavior noted in the report.

Written by the indexing model from the issue text.

Description

I found that PointLightShadowFilter has some trouble with shadow acne in 3.10-beta1 (not sure about previous versions) when the receiving geometry is close to the light source and the camera is not close to the same geometry.

Image

Excuse the mess, I've got several shadow-casting lights here. :P
The point light is located one unit above the acne area (one unit = width of a beam here). I was able to "resolve" the problem by switching to PointLightShadowRenderer. SpotLightShadowFilter and DirectionalLightShadowFilter don't have this issue afaik. I don't have an example app to show right now because I've since moved on to a custom shadow implementation (jme's shadows have pretty bad peter-panning), but just say if you'd like me to try to reproduce the issue.

Dominant language
Java
Stars
4.3k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jMonkeyEngine/jmonkeyengine

All issues in jMonkeyEngine/jmonkeyengine

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.