Skip to content

RenderTexture snapshotFramebuffer cannot exceed the size of the drawingBuffer #5707

@teng-z

Description

@teng-z

Version

  • Phaser Version: 3.23.0
  • Operating system: macOS
  • Browser: Google Chrome

Description

I have a renderTexture whose size exceeds Canvas. The width and height of the snapshot cannot exceed the drawingBuffer.

I tried to remove Math.min from snapshotArea. Get the effect I want, is there any hidden danger?
Is there a better solution?

Example Test Code

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions