Add support for velocity rendering
@vanruesc 已经在做这个了。
开始于 2024年2月18日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- JavaScript
- 星标
- 2.9k
- 派生
- 251
- 平均合并
- 17 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pmndrs/postprocessing 的其他 Issue
-
难度 5/5 一周以上 新手友好度 30/100
pmndrs/postprocessing#727 ·
-
难度 4/5 3-5 天 新手友好度 38/100
pmndrs/postprocessing#726 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
pmndrs/postprocessing#716 · 1 个 reaction ·
-
vr
难度 5/5 一周以上 新手友好度 25/100
pmndrs/postprocessing#677 · 5 条评论 · 8 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
pmndrs/postprocessing#665 · 1 条评论 ·
查看 pmndrs/postprocessing 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·
-
ECmail.com 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
wesbos/burner-email-providers#554 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·