Skip to content

Add support for velocity rendering #577

Open
@vanruesc

Description

@vanruesc

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions