Skip to content

Improved Rendering (Scratch Pad Texture) #525

Open
@Birkemose

Description

@Birkemose

As part of the centralized render engine, and the effort to minimize state changes, I would like to suggest a scratch pad texture approach, where smaller textures in stead of being cached, is added to a scratch pad texture, and used as a sprite sheet. As larger textures (size to be determined) will not benefit from batching due to the fill rate overhead, this should only include smaller textures.
As switching texture can be rather costly, a scheme could be developed, which even allowed textures to be added to more than one scratch pad texture, if it could minimize state changes.
This should of course not stop anyone from making sprite sheets, or marking files as “non scratch pad able”

This would effectively be the sprite sheets at run time feature. See #476

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