Skip to content

Cubemap uses only first texture #228

Open
@mserege

Description

@mserege

Hi,

First, thanks a lot for this lib !

Just figured out that creating a cubemap texture based on non power of two images does not work propertly in Chrome on MacOS. Safari is fine, Chrome on Windows is also fine.

Here is the repro.

I checked loadCubemapFromUrls code and it seems to me that the fact that gl.generateMipmap(target) is called after each image upload might be the issue.

Is there a reason to do so ? If I move the call on the last image upload, it fixes the issue.

Let me know.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions