jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Allow Buffers to be passed as material parameters

Open
#2,509 7 comments 1 reaction 0 assignees View on GitHub

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:

  1. Add new VarTypes for buffer parameters.
  2. Allow some array parameters to also accept buffers.

Contributor guide

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.