Skip to content

Pause videos when outside of frustrum #56

@alex-shortt

Description

@alex-shortt

more specifically, we should not update the video texture every frame instead of pausing it since we might still want the audio.

the frustrum check can be done by calculating each vertex of the video plane and doing some fun math
https://stackoverflow.com/questions/41163030/determine-if-point-is-in-frustum

the stopping of the texture updates seems more sketch, we miiight need to hijack the video texture's update method

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancemake things run faster

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions