Add support for velocity rendering

Open
#577 0 comments 3 reactions 1 assignee View on GitHub

@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:

Tasks
  • Create and register the required pp_gbuffer_velocity_* shader chunks.
  • Update ShaderChunkExtensions to assign the shader chunks to three's materials.
  • Add GBuffer.VELOCITY and GData.VELOCITY.
  • Update GeometryPass to define a velocity texture config.
  • Update GBufferConfig, ClearFlags and ClearValues.
  • Update gbuffer demo to render velocity.
Dominant language
JavaScript
Stars
3k
Forks
266
Avg merge
6m
Merged PRs (30d)
1

Getting set up

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.

More from pmndrs/postprocessing

All issues in pmndrs/postprocessing

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.