Skip to content

Texture Loader has no method load #408

Open
@DerBambus

Description

@DerBambus

Hi there,
I'm trying to load in a custom texture for a project.
When using the texture loader, I followed a regular 3js tutorial, leading me to the following code:

        texture = p3s.TextureLoader().load("temp.png")

which gives me the following error message:
AttributeError: 'TextureLoader' object has no attribute 'load'

I have tried calling different loaders, and also in different constellations, but I can't seem to get it to work.

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