jMonkeyEngine / jMonkeyEngine/sdk

Add directionallightshadowfilter or pointlightshadowfilter to the. J3f file. After setting the light name, add it to the code to report an error

Open
#273 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
348
Forks
104
Avg merge
4d 13h
Merged PRs (30d)
3

Description

Add directionallightshadowfilter or pointlightshadowfilter to the. J3f file. After setting the light name, add it to the code to report an error:
java.lang.NullPointerException at com.jme3.post.Filter.setDepthTexture(Filter.java:304) at com.jme3.post.FilterPostProcessor.initFilter(FilterPostProcessor.java:187) at com.jme3.post.FilterPostProcessor.reshape(FilterPostProcessor.java:500) at com.jme3.post.FilterPostProcessor.initialize(FilterPostProcessor.java:166) at com.jme3.renderer.RenderManager.notifyReshape(RenderManager.java:311) at com.jme3.renderer.RenderManager.notifyReshape(RenderManager.java:336) at com.jme3.app.LegacyApplication.reshape(LegacyApplication.java:543) at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:194) at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232) at java.lang.Thread.run(Thread.java:748)

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the referenced J3f file and trace the reported failure through Filter.setDepthTexture, FilterPostProcessor.initFilter and reshape. Reproduce the error after setting a light name, then confirm the relevant shadow filter is handled without the reported NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.