Skip to content

BatchedText: not support colorRanges #373

@zx69

Description

@zx69

Hello, I used troika to render multiply text labels with vanilla three.js.
thanks for the help of this great package!
And recently I met some performance issue, and I try to use BatchedText to reduce the draw calls, but I found the colorRanges property is not working while refactoring from Text to BatchedText. I roughly glanced through the code, seems that colorRanges is not supported yet in BatchedText ?
Is there any other way to use multiple color in one single Text item in BatchedText?
thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions