Skip to content

Change default vertex layout to seperate buffers #592

@julhe

Description

@julhe

Right now the vertex layout is interleave, meaning data is stored like (VVVNNNCCC). It would make sense to use seperate buffers, like in (VVV) (NNN) (CCC).

Pro:

  • Easier adding of new attributes / more modular approach
  • More controlled binding, like only bind position buffer for shadow rendering
  • Faster modification of certain buffers, like changing the vertex color on the CPU without uploading the entire mesh again

Cons:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions