missing/add material.alphaMap to standard material.js
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
THREE.js seems to support alphaMap transparency texture out of the box,
https://threejs.org/docs/index.html#api/materials/MeshStandardMaterial
so it would be very handy to have it supported in the standard material in A-Frame as well for plenty of things ...
- A-Frame Version: 7.0 Master
- Platform / Device: all
https://github.com/aframevr/aframe/blob/v0.7.0/src/shaders/standard.js
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
Start with src/shaders/standard.js at the v0.7.0 reference in the issue, then compare A-Frame’s standard material with THREE.MeshStandardMaterial and its alphaMap support. Done means the standard material exposes and uses alphaMap consistently with the documented THREE.js behavior; no test file is mentioned in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100