Add support for velocity rendering
@vanruesc is already working on this.
Since Feb 18, 2024.
Assessment
This issue has not been assessed yet.
Description
Description
Implement velocity rendering by extending ShaderLib with MRT shader code based on three's VelocityShader.
References:
- https://github.com/mrdoob/three.js/blob/74d7dc8a5fb92e40758ec6b8fd08502c5ca019b3/examples/jsm/shaders/VelocityShader.js
- https://github.com/mrdoob/three.js/blob/74d7dc8a5fb92e40758ec6b8fd08502c5ca019b3/examples/webgl_materials_channels.html
- https://john-chapman-graphics.blogspot.com/2013/01/per-object-motion-blur.html
- https://github.com/mrdoob/three.js/pull/29058/files
Tasks
- Create and register the required
pp_gbuffer_velocity_*shader chunks. - Update
ShaderChunkExtensionsto assign the shader chunks to three's materials. - Add
GBuffer.VELOCITYandGData.VELOCITY. - Update
GeometryPassto define a velocity texture config. - Update
GBufferConfig,ClearFlagsandClearValues. - Update
gbufferdemo to render velocity.
- Dominant language
- JavaScript
- Stars
- 3k
- Forks
- 266
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from pmndrs/postprocessing
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
pmndrs/postprocessing#727 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
pmndrs/postprocessing#726 · 1 reaction ·
-
Implement SMAA T2xOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
pmndrs/postprocessing#716 · 1 reaction ·
-
Research: XR SupportOpenvr
Difficulty 5/5 Over a week Newbie friendliness 25/100
pmndrs/postprocessing#677 · 5 comments · 8 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pmndrs/postprocessing#665 · 1 comment ·
All issues in pmndrs/postprocessing
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 5 days
-
[v11] MeshTransmissionMaterial deep-imports `three/src`, bundling a second copy of the node treeOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Update Doc linksOpen
Difficulty 1/5 Under an hour Newbie friendliness 65/100
fboucher/n8n-nodes-bdp#69 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sidebandstudio/clawtrate#727 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainers usually reply within 1 day