Skip to content

Add support for velocity rendering #577

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions