jMonkeyEngine / jMonkeyEngine/jmonkeyengine
Allow Buffers to be passed as material parameters
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
Currently, only arrays may be passed as material parameters, even though LWJGL also allows buffers to be used for shader uniforms. I see two ways to address this:
- Add new VarTypes for buffer parameters.
- Allow some array parameters to also accept buffers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to material-parameter handling and shader uniforms; begin by locating that path and reviewing how LWJGL buffer inputs are represented. Done means a chosen approach lets supported buffers be passed as material parameters and is validated against the existing array behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- computer-graphics, game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100