pmndrs / pmndrs/postprocessing

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.

Dominant language
JavaScript
Stars
2.9k
Forks
251
Avg merge
17m
Merged PRs (30d)
1

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.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.