Skip to content

Investigate how draw 2 textures at the time #42

@lesn1kk

Description

@lesn1kk

As it turned out it is really difficult... As I read somewhere on stackOverFlow, there can be only one texture at a time loaded to GL_TEXTURE_2D by calling GLUtils.texImage2D. Look into it in book.
I know that I must activate and bind to different GL_TEXTUREX different textures. But also, I need generate my texture number by calling glGenTextures, and when I do it and apply it while binding, it doesnt work! Ha! I check coordinates and these are fine, all I see is fading to black. BUT. When I bind it to 0, IT DOES WORK. magic.

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