playcanvas / playcanvas/engine
Improve transparent mesh render sorting/order
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
We have a number of issues around scenes/models where users have setups of transparent objects in front of other transparent objects but due to the size of the models, they are rendered in the 'incorrect' order
eg:
https://forum.playcanvas.com/t/solved-problem-with-transparent-textures-planes-are-not-sorted-correctly/24275
https://forum.playcanvas.com/t/transparency-alpha-render-issues/23779
Maybe something like: https://doc.babylonjs.com/divingDeeper/materials/advanced/transparent_rendering#the-transparencymode-property
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 by investigating how transparent meshes are sorted during scene rendering. Read the two linked PlayCanvas forum discussions and compare the referenced Babylon.js transparency mode documentation. Done should be defined as a clear, agreed behavior for transparent objects that overlap or obscure one another.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100